-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
79 lines (79 loc) · 2.48 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
{
"name": "Vue3-project-template",
"private": true,
"version": "1.0.6",
"type": "module",
"scripts": {
"dev": "vite --mode development",
"prod": "vite --mode production",
"test": "echo \"Error: no test specified\" && exit 1",
"build": "vue-tsc && vite build",
"preview": "vite preview",
"lint": "eslint --fix vite.config.ts tsconfig.json .eslintrc.cjs --ext .cjs,.js,.vue,.ts,.html, src",
"prettier": "prettier --write ./**/*.{js,ts,vue,json,html,css,scss}",
"prepare": "husky install",
"lint-staged": "lint-staged",
"clean-cache": "npm cache clean --force && rm -rf node_modules && rm -rf package-lock.json && npm install",
"ts-build": "tsc && vite build",
"sass-build": "node-sass src/ -o dist/",
"e2e-test": "npm run serve & cypress open",
"dev-proxy": "vite --mode development --proxy http://localhost:3000",
"deploy-gh-pages": "vue-tsc && vite build && echo '部署至gh-pages' > dist/CNAME && npx gh-pages -d dist"
},
"dependencies": {
"@element-plus/icons-vue": "^2.1.0",
"axios": "^1.3.4",
"element-plus": "^2.2.32",
"lodash-es": "^4.17.21",
"pinia": "^2.0.32",
"pinia-plugin-persistedstate": "^3.1.0",
"sass": "^1.58.3",
"vite-plugin-compression": "^0.5.1",
"vue": "^3.2.47",
"vue-router": "^4.1.6"
},
"devDependencies": {
"@babel/cli": "^7.21.0",
"@babel/core": "^7.21.0",
"@babel/eslint-parser": "^7.12.16",
"@babel/preset-env": "^7.20.2",
"@types/node": "^18.14.6",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"@vitejs/plugin-vue": "^4.0.0",
"@vitejs/plugin-vue-jsx": "^3.0.0",
"cross-env": "^7.0.3",
"eslint": "^8.35.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vue": "^9.9.0",
"husky": "^8.0.3",
"lint-staged": "^13.1.2",
"mockjs": "^1.1.0",
"prettier": "^2.8.4",
"rollup-plugin-visualizer": "^5.9.0",
"terser": "^5.16.5",
"typescript": "^4.9.3",
"unplugin-auto-import": "^0.15.0",
"unplugin-vue-components": "^0.24.0",
"vite": "^4.1.0",
"vite-plugin-html": "^3.2.0",
"vite-plugin-mock": "^2.9.6",
"vite-plugin-svg-icons": "^2.0.1",
"vue-tsc": "^1.0.24"
},
"lint-staged": {
"*.{js,ts,jsx,tsx}": [
"prettier --write",
"eslint --fix"
],
"*.vue": [
"prettier --write",
"eslint --fix"
],
"*.{less,css}": [
"prettier --write",
"eslint --fix"
]
}
}