/
package.json
64 lines (64 loc) · 1.87 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
{
"name": "@shuimo-design/lunar",
"type": "module",
"version": "0.0.5",
"description": "javascript solar to chinese lunar tool",
"author": "higuaifan",
"browser": "dist/index.umd.js",
"types": "./dist/es/types/index.d.mts",
"main": "./dist/umd/index.umd.js",
"module": "./dist/es/index.mjs",
"exports": {
".": {
"import": {
"types": "./dist/es/types/index.d.mts",
"default": "./dist/es/index.mjs"
},
"require": {
"types": "./dist/cjs/types/index.d.cts",
"default": "./dist/cjs/index.cjs"
}
},
"./*": "./*"
},
"files": [
"dist",
"lib",
"types"
],
"scripts": {
"build": "rollup --config rollup.config.ts --bundleConfigAsCjs --configPlugin @rollup/plugin-typescript && npm run rename",
"test": "vitest",
"coverage": "vitest --coverage",
"rename": "npm run rename-esm && npm run rename-cjs",
"rename-esm": "for file in ./dist/es/types/index.d.ts; do mv \"$file\" \"${file%.d.ts}.d.mts\"; done",
"rename-cjs": "for file in ./dist/cjs/types/index.d.ts; do mv \"$file\" \"${file%.d.ts}.d.cts\"; done",
"website:dev": "vite --config ./website/vite.config.ts",
"website:build": "vite --config ./website/vite.config.ts build"
},
"keywords": [
"lunar"
],
"license": "MIT",
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@vitejs/plugin-vue": "^5.0.3",
"@vitest/coverage-v8": "^1.2.0",
"dayjs": "^1.11.10",
"rollup": "^4.9.5",
"shuimo-ui": "0.3.0-alpha.12",
"tslib": "^2.6.2",
"tsx": "^4.7.0",
"typescript": "^5.3.3",
"vite": "^5.0.12",
"vitest": "^1.1.3",
"vue": "^3.4.15"
},
"repository": {
"type": "git",
"url": "git+https://github.com/shuimo-design/lunar.git"
}
}