-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
104 lines (104 loc) · 2.85 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"name": "h5-vue3-ts",
"version": "0.0.0",
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"build-type": "run-p type-check \"build {@}\" --",
"preview": "vite preview",
"test": "vitest run",
"test:unit": "vitest",
"build": "vite build",
"type-check": "vue-tsc --build --force",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
"format": "prettier --write src/",
"prepare": "husky",
"lint:style": "lint-staged",
"commit": "cz",
"commitlint": "commitlint --config commitlint.config.ts --edit",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
},
"dependencies": {
"@ant-design/icons-vue": "^7.0.1",
"@types/crypto-js": "^4.2.2",
"@types/lodash-es": "^4.17.12",
"@types/nprogress": "^0.2.3",
"@unocss/reset": "^0.58.5",
"@vueuse/core": "^10.9.0",
"ant-design-vue": "~4.2.1",
"cz-conventional-changelog-zh": "^0.0.2",
"nprogress": "^0.2.0",
"vue": "^3.4.15",
"vue-router": "^4.2.5"
},
"devDependencies": {
"@commitlint/cli": "^19.0.3",
"@commitlint/config-conventional": "^19.0.3",
"@iconify-json/ep": "^1.1.14",
"@rushstack/eslint-patch": "^1.3.3",
"@tsconfig/node20": "^20.1.2",
"@types/jsdom": "^21.1.6",
"@types/node": "^20.11.10",
"@types/qs": "^6.9.15",
"@types/vue": "^2.0.0",
"@vitejs/plugin-vue": "^5.0.3",
"@vitejs/plugin-vue-jsx": "^3.1.0",
"@vue/eslint-config-prettier": "^8.0.0",
"@vue/eslint-config-typescript": "^12.0.0",
"@vue/test-utils": "^2.4.4",
"@vue/tsconfig": "^0.5.1",
"axios": "^1.6.8",
"conventional-changelog-cli": "^4.1.0",
"crypto-js": "^4.2.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.49.0",
"eslint-plugin-vue": "^9.17.0",
"husky": "^9.0.11",
"jsdom": "^24.0.0",
"less": "^4.2.0",
"lint-staged": "^15.2.2",
"lodash-es": "^4.17.21",
"npm-run-all2": "^6.1.1",
"pinia": "^2.1.7",
"prettier": "^3.0.3",
"qs": "^6.12.1",
"sass": "^1.77.1",
"typescript": "~5.3.0",
"unocss": "^0.58.5",
"unplugin-auto-import": "^0.17.5",
"unplugin-icons": "^0.18.5",
"unplugin-vue-components": "^0.26.0",
"vite": "^5.0.11",
"vitest": "^1.2.2",
"vue-tsc": "^1.8.27"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog-zh"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": "eslint"
},
"husky": {
"pre-commit": "pnpm lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"prepare-commit-msg": "exec < /dev/tty && npx cz --hook || true"
},
"commitlint": {
"rules": {
"references-empty": [
2,
"never"
]
},
"parserPreset": {
"parserOpts": {
"issuePrefixes": [
"PROJ-"
]
}
}
}
}