-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
72 lines (72 loc) · 2.59 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"name": "date-differencer",
"version": "0.4.0",
"description": "Calculate the time interval between two `Date` objects and output the result in years plus months plus days plus hours plus minutes plus seconds plus milliseconds (instead of representing the same duration in different units). This library is useful for lifespan check and age calculation.",
"type": "module",
"exports": "./lib/lib.js",
"types": "./lib/lib.d.ts",
"engines": {
"node": ">=20"
},
"files": [
"lib"
],
"scripts": {
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"test:coverage": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage",
"test:inspect-brk": "node --experimental-vm-modules --inspect-brk=0.0.0.0:9230 node_modules/jest/bin/jest.js --testTimeout 0 --runInBand",
"clean": "rimraf lib",
"build": "npm run clean && tsc -p tsconfig.build.json",
"build:watch": "npm run build -- -w",
"build:webpack": "webpack --mode production",
"build:src": "node build.js",
"lint": "eslint src tests",
"lint:fix": "npm run lint -- --fix",
"prepare": "git config core.hooksPath .githooks || exit 0",
"prepack": "npm run build",
"prepublishOnly": "npm run lint && npm run test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/magiclen/ts-date-differencer.git"
},
"keywords": [
"date",
"time",
"age",
"diff",
"datediff"
],
"author": "Magic Len",
"license": "MIT",
"bugs": {
"url": "https://github.com/magiclen/ts-date-differencer/issues"
},
"homepage": "https://magiclen.org/date-differencer/",
"devDependencies": {
"@babel/core": "^7.25.8",
"@babel/preset-env": "^7.25.8",
"@babel/preset-typescript": "^7.25.7",
"@babel/register": "^7.25.7",
"@eslint/js": "^9.13.0",
"@stylistic/eslint-plugin": "^2.9.0",
"@types/eslint__js": "^8.42.3",
"@types/jest": "^29.5.13",
"babel-loader": "^9.2.1",
"eslint": "^9.13.0",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-import": "^2.31.0",
"globals": "^15.11.0",
"jest": "^29.7.0",
"rimraf": "^6.0.1",
"terser-webpack-plugin": "^5.3.10",
"ts-jest": "^29.2.5",
"typescript": "~5.6.3",
"typescript-eslint": "^8.10.0",
"webpack": "^5.95.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"year-helper": "^0.3.0"
}
}