-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
88 lines (88 loc) · 2.75 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
{
"name": "mmcat-vue3-template",
"private": true,
"version": "2.0.0",
"description": "A Good Template \r - mcmcCat的工程化初始\r # Features\r - 👑 Vue3.2全家桶 \r - ⚡️ Vite\r - 💎 TypeScript\r - 🚥 ESlint\r - 🌞 Prettier\r - 🎁 Lint_staged\r - 🚨 Commitlint\r - 🎷 husky\r - 🔨 Commitizen\r - 📝 conventional-changelog-cli",
"repository": {
"type": "git",
"url": "git+https://github.com/mcmcCat/vue3-vite-template.git"
},
"keywords": [
"Vue3.2+Vite+TS+Eslint+Prettier+Husky"
],
"author": "mcmcCat",
"license": "ISC",
"bugs": {
"url": "https://github.com/mcmcCat/vue3-vite-template/issues"
},
"homepage": "https://github.com/mcmcCat/vue3-vite-template#readme",
"scripts": {
"dev": "vite",
"build": "vue-tsc && vite build",
"preview": "vite preview",
"lint": "eslint . --ext .ts,.vue --fix && stylelint **/*.css **/*.vue --fix",
"prepare": "husky install",
"commit": "git add . && git-cz",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
},
"lint-staged": {
"*.{ts,vue}": [
"npm run lint",
"prettier --write",
"eslint --cache --fix"
],
"*.css": "stylelint --fix"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E $HUSKY_GIT_PARAMS"
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-customizable"
}
},
"dependencies": {
"pinia": "^2.1.3",
"pinia-plugin-persist": "^1.0.0",
"vue": "^3.2.47",
"vue-router": "^4.2.1"
},
"devDependencies": {
"@commitlint/cli": "^17.6.3",
"@commitlint/config-conventional": "^17.6.3",
"@typescript-eslint/eslint-plugin": "^5.59.5",
"@typescript-eslint/parser": "^5.15.0",
"@vitejs/plugin-vue": "^4.2.3",
"commitizen": "^4.3.0",
"conventional-changelog-cli": "^2.2.2",
"cz-customizable": "^7.0.0",
"eslint": "^8.40.0",
"eslint-config-prettier": "^8.8.0",
"eslint-config-standard-with-typescript": "^34.0.1",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-vue": "^9.12.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.2",
"postcss": "^8.4.23",
"postcss-html": "^1.5.0",
"postcss-scss": "^4.0.6",
"prettier": "^2.8.8",
"stylelint": "^14.6.1",
"stylelint-config-html": "^1.0.0",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-recommended-scss": "^6.0.0",
"stylelint-config-recommended-vue": "^1.4.0",
"stylelint-config-standard": "^25.0.0",
"stylelint-config-standard-scss": "^3.0.0",
"stylelint-order": "^5.0.0",
"typescript": "^4.5.4",
"vite": "^4.3.5",
"vue-tsc": "^1.4.2"
}
}