-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
59 lines (59 loc) · 1.51 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
{
"name": "vue3-ts-vite",
"private": true,
"version": "0.0.0",
"author": "ruanlin",
"description": "一个Vue3.2+ts+vite的H5开发模板",
"scripts": {
"dev": "vite",
"build": "vue-tsc --noEmit && vite build",
"preview": "vite preview",
"lint": "eslint src --fix --ext .ts,.tsx,.vue,.js,.jsx",
"prettier": "prettier --write .",
"prepare": "husky install"
},
"dependencies": {
"@vueuse/core": "^8.5.0",
"axios": "^0.27.2",
"qs": "^6.10.3",
"vant": "^3.4.9",
"vue": "^3.2.25",
"vue-router": "4"
},
"devDependencies": {
"@commitlint/cli": "^16.1.0",
"@commitlint/config-conventional": "^16.0.0",
"@types/node": "^17.0.35",
"@types/qs": "^6.9.7",
"@typescript-eslint/eslint-plugin": "^5.26.0",
"@typescript-eslint/parser": "^5.26.0",
"@vitejs/plugin-vue": "^2.3.3",
"@vitejs/plugin-vue-jsx": "^1.3.10",
"eslint": "^8.16.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^9.0.1",
"husky": "^7.0.4",
"less": "^4.1.2",
"lint-staged": "^12.3.1",
"mrm": "^3.0.10",
"postcss-px-to-viewport": "^1.1.1",
"prettier": "^2.6.2",
"typescript": "^4.5.4",
"vite": "^2.9.9",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-style-import": "1.4.1",
"vue-tsc": "^0.34.7"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,vue,ts,tsx}": [
"yarn lint",
"prettier --write"
]
}
}