-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
66 lines (66 loc) · 2.19 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
{
"name": "vite-vue3-ts-pinia",
"private": true,
"version": "0.0.1",
"scripts": {
"dev": "vite --mode dev",
"prod": "vite --mode prod",
"build": "vite build --mode prod",
"preview": "vite preview",
"eslint:comment": "使用 ESLint 检查并自动修复 src 目录下所有扩展名为 .js 和 .vue 的文件",
"eslint": "eslint --ext .js,.vue --ignore-path .gitignore --fix src",
"prettier:comment": "自动格式化当前目录下的所有文件",
"prettier": "prettier . --write",
"commit:comment": "引导设置规范化的提交信息",
"commit": "git-cz"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-customizable"
}
},
"lint-staged": {
"*.{js,ts,vue}": [
"pnpm run eslint",
"pnpm run prettier"
]
},
"dependencies": {
"@element-plus/icons-vue": "^2.1.0",
"@kangc/v-md-editor": "^2.3.17",
"@types/prismjs": "^1.26.0",
"@vueuse/core": "^8.2.0",
"axios": "^1.4.0",
"element-plus": "^2.3.8",
"event-source-polyfill": "^1.0.31",
"pinia": "^2.0.12",
"pinia-plugin-persist": "^1.0.0",
"prismjs": "^1.29.0",
"vite-plugin-prismjs": "^0.0.8",
"vue": "^3.2.25",
"vue-router": "^4.0.14"
},
"devDependencies": {
"@commitlint/cli": "^16.2.3",
"@commitlint/config-conventional": "^16.2.1",
"@types/event-source-polyfill": "^1.0.1",
"@types/node": "^17.0.23",
"@typescript-eslint/eslint-plugin": "^5.16.0",
"@typescript-eslint/parser": "^5.16.0",
"@vitejs/plugin-vue": "^2.2.0",
"commitizen": "^4.2.4",
"commitlint-config-cz": "^0.13.3",
"cz-conventional-changelog": "^3.3.0",
"cz-customizable": "^6.3.0",
"eslint": "^8.12.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^8.5.0",
"husky": "^7.0.4",
"lint-staged": "^12.3.7",
"prettier": "^2.6.1",
"typescript": "^4.5.4",
"vite": "^2.8.0",
"vue-tsc": "^0.29.8"
}
}