-
Notifications
You must be signed in to change notification settings - Fork 79
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 2.39 KB
/
Copy pathpackage.json
File metadata and controls
73 lines (73 loc) · 2.39 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
{
"name": "code996",
"version": "1.2.0",
"description": "统计 Git commit 的时间分布,进而推导出项目的编码工作强度",
"main": "dist/index.js",
"bin": {
"code996": "dist/index.js"
},
"scripts": {
"build": "npm run build:cli && npm run build:web",
"build:cli": "node scripts/clean-cli-dist.mjs && tsc && node scripts/finalize-cli-dist.mjs",
"build:web": "vue-tsc -p web/tsconfig.json --noEmit && vite build --config web/vite.config.mts",
"build:website": "vue-tsc -p website/tsconfig.json --noEmit && vite build --config website/vite.config.mts",
"dev": "vite --config web/vite.config.mts",
"dev:cli": "tsc -w",
"dev:web": "vite --config web/vite.config.mts",
"dev:website": "vite --config website/vite.config.mts",
"start": "node dist/index.js",
"format:check": "prettier --check \"src/**/*.{ts,js}\" \"web/**/*.{ts,vue,mts,json,html,scss,css}\" \"website/src/**/*.{ts,vue,scss,css}\" \"website/*.{mts,json,html}\" \"scripts/**/*.{mjs,js}\" \"*.{json,js,mjs,md}\" \".github/**/*.{yml,yaml}\" \".docs/**/*.md\"",
"test": "npm run test:cli && npm run test:web && npm run test:release",
"test:cli": "jest",
"test:web": "vitest run --config web/vitest.config.mts",
"test:release": "node --test scripts/release.test.mjs",
"release": "node scripts/release.mjs",
"prepublishOnly": "npm run build"
},
"keywords": [
"git",
"996",
"workload",
"analysis",
"cli"
],
"author": "hellodigua",
"repository": {
"type": "git",
"url": "git+https://github.com/hellodigua/code996.git"
},
"license": "MIT",
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^20.14.2",
"@types/yargs": "^17.0.32",
"@vitejs/plugin-vue": "^6.0.8",
"@vue/test-utils": "^2.4.11",
"chart.xkcd": "^2.0.12",
"jest": "^29.7.0",
"jsdom": "^29.1.1",
"prettier": "^3.6.2",
"sass": "^1.101.0",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typescript": "^5.5.2",
"vite": "^8.1.5",
"vitest": "^4.1.10",
"vue": "^3.5.40",
"vue-i18n": "^11.4.6",
"vue-router": "^4.6.4",
"vue-tsc": "^2.2.12"
},
"dependencies": {
"@inquirer/checkbox": "^3.0.1",
"@inquirer/select": "^3.0.1",
"chalk": "^4.1.2",
"cli-table3": "^0.6.3",
"commander": "^11.1.0",
"holiday-calendar": "^1.3.0",
"ora": "^5.4.1"
},
"engines": {
"node": ">=18.0.0"
}
}