|
4 | 4 | "author": "hu-snail",
|
5 | 5 | "scripts": {
|
6 | 6 | "lint": "eslint \"src/**/*.{js,vue}\"",
|
7 |
| - "dev": "vite --mode development", |
| 7 | + "dev": "cross-env NODE_ENV=development vite", |
8 | 8 | "build": "vite build --mode production",
|
9 | 9 | "preview": "npm run build && vite preview",
|
10 | 10 | "lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
|
|
16 | 16 | "dependencies": {
|
17 | 17 | "axios": "^0.21.1",
|
18 | 18 | "element-plus": "^1.0.2-beta.65",
|
| 19 | + "mockjs": "^1.1.0", |
19 | 20 | "vue": "^3.0.5",
|
20 | 21 | "vue-router": "^4.0.10",
|
21 | 22 | "vuex": "^4.0.2"
|
|
25 | 26 | "@vitejs/plugin-vue": "^1.3.0",
|
26 | 27 | "@vue/compiler-sfc": "^3.0.5",
|
27 | 28 | "@vue/eslint-config-prettier": "^6.0.0",
|
28 |
| - "amfe-flexible": "^2.2.1", |
29 | 29 | "autoprefixer": "^10.3.1",
|
30 | 30 | "babel-eslint": "^10.1.0",
|
| 31 | + "cross-env": "^7.0.3", |
31 | 32 | "eslint": "^7.32.0",
|
32 | 33 | "eslint-plugin-prettier": "^3.4.0",
|
33 | 34 | "eslint-plugin-vue": "^7.15.0",
|
34 | 35 | "lint-staged": "^11.1.1",
|
35 | 36 | "postcss": "^8.3.6",
|
36 |
| - "postcss-pxtorem": "^6.0.0", |
37 | 37 | "prettier": "^2.3.2",
|
38 | 38 | "sass": "^1.37.0",
|
39 | 39 | "stylelint": "^13.13.1",
|
|
42 | 42 | "stylelint-config-standard": "^22.0.0",
|
43 | 43 | "vite": "^2.4.4",
|
44 | 44 | "vite-plugin-babel-import": "^2.0.5",
|
| 45 | + "vite-plugin-mock": "^2.9.4", |
45 | 46 | "vite-plugin-style-import": "^1.0.1"
|
46 | 47 | }
|
47 | 48 | }
|
0 commit comments