-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 1.99 KB
/
package.json
File metadata and controls
79 lines (79 loc) · 1.99 KB
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
73
74
75
76
77
78
79
{
"type": "module",
"name": "solarlunar",
"version": "3.1.0",
"description": "阳历阴历(公历农历)互转 - Modernized version",
"main": "dist/solarlunar.cjs",
"module": "dist/solarlunar.esm.js",
"browser": "dist/solarlunar.min.js",
"types": "solarlunar.d.ts",
"exports": {
".": {
"import": "./dist/solarlunar.esm.js",
"require": "./dist/solarlunar.cjs",
"browser": "./dist/solarlunar.min.js"
}
},
"scripts": {
"build": "rollup -c",
"dev": "rollup -c -w",
"test": "vitest run",
"test:watch": "vitest",
"test:ui": "vitest --ui",
"lint": "eslint src --ext .js",
"lint:fix": "eslint src --ext .js --fix",
"format": "prettier --write src test",
"typecheck": "tsc --noEmit",
"prepublishOnly": "npm run build",
"release": "release-it",
"perf": "node performance-test.js",
"benchmark": "node benchmark.js",
"audit": "npm audit",
"outdated": "npm outdated",
"security": "npm audit --audit-level moderate"
},
"repository": {
"type": "git",
"url": "git+https://github.com/yize/solarlunar.git"
},
"keywords": [
"calendar",
"公历",
"农历",
"阳历",
"阴历",
"solar",
"lunar",
"chinese-calendar"
],
"author": "yize",
"license": "ISC",
"bugs": {
"url": "https://github.com/yize/solarlunar/issues"
},
"homepage": "https://github.com/yize/solarlunar#readme",
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.4",
"@eslint/js": "^9.12.0",
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-terser": "^0.4.4",
"@types/node": "^25.3.2",
"@vitest/ui": "^4.0.18",
"chai": "^5.1.1",
"eslint": "^9.12.0",
"globals": "^15.11.0",
"prettier": "^3.3.3",
"release-it": "^19.2.4",
"rollup": "^4.24.0",
"typescript": "^5.6.3",
"vitest": "^4.0.18"
},
"files": [
"dist/",
"solarlunar.d.ts",
"README.md",
"LICENSE"
]
}