|
3 | 3 | "version": "4.3.1",
|
4 | 4 | "description": "A magical vue admin. An out-of-box UI solution for enterprise applications. Newest development stack of vue. Lots of awesome features",
|
5 | 5 | "author": "Pan <[email protected]>",
|
6 |
| - "license": "MIT", |
7 | 6 | "scripts": {
|
8 | 7 | "dev": "vue-cli-service serve",
|
| 8 | + "lint": "eslint --ext .js,.vue src", |
9 | 9 | "build:prod": "vue-cli-service build",
|
10 | 10 | "build:stage": "vue-cli-service build --mode staging",
|
11 | 11 | "preview": "node build/index.js --preview",
|
12 |
| - "lint": "eslint --ext .js,.vue src", |
13 |
| - "test:unit": "jest --clearCache && vue-cli-service test:unit", |
14 |
| - "test:ci": "npm run lint && npm run test:unit", |
| 12 | + "new": "plop", |
15 | 13 | "svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml",
|
16 |
| - "new": "plop" |
17 |
| - }, |
18 |
| - "husky": { |
19 |
| - "hooks": { |
20 |
| - "pre-commit": "lint-staged" |
21 |
| - } |
22 |
| - }, |
23 |
| - "lint-staged": { |
24 |
| - "src/**/*.{js,vue}": [ |
25 |
| - "eslint --fix", |
26 |
| - "git add" |
27 |
| - ] |
28 |
| - }, |
29 |
| - "keywords": [ |
30 |
| - "vue", |
31 |
| - "admin", |
32 |
| - "dashboard", |
33 |
| - "element-ui", |
34 |
| - "boilerplate", |
35 |
| - "admin-template", |
36 |
| - "management-system" |
37 |
| - ], |
38 |
| - "repository": { |
39 |
| - "type": "git", |
40 |
| - "url": "git+https://github.com/PanJiaChen/vue-element-admin.git" |
41 |
| - }, |
42 |
| - "bugs": { |
43 |
| - "url": "https://github.com/PanJiaChen/vue-element-admin/issues" |
| 14 | + "test:unit": "jest --clearCache && vue-cli-service test:unit", |
| 15 | + "test:ci": "npm run lint && npm run test:unit" |
44 | 16 | },
|
45 | 17 | "dependencies": {
|
46 | 18 | "axios": "0.18.1",
|
47 | 19 | "clipboard": "2.0.4",
|
48 | 20 | "codemirror": "5.45.0",
|
| 21 | + "core-js": "3.6.5", |
49 | 22 | "driver.js": "0.9.5",
|
50 | 23 | "dropzone": "5.5.1",
|
51 | 24 | "echarts": "4.2.1",
|
|
71 | 44 | "xlsx": "0.14.1"
|
72 | 45 | },
|
73 | 46 | "devDependencies": {
|
74 |
| - "@vue/cli-plugin-babel": "3.5.3", |
75 |
| - "@vue/cli-plugin-eslint": "^3.9.1", |
76 |
| - "@vue/cli-plugin-unit-jest": "3.5.3", |
77 |
| - "@vue/cli-service": "3.5.3", |
| 47 | + "@vue/cli-plugin-babel": "4.4.4", |
| 48 | + "@vue/cli-plugin-eslint": "4.4.4", |
| 49 | + "@vue/cli-plugin-unit-jest": "4.4.4", |
| 50 | + "@vue/cli-service": "4.4.4", |
78 | 51 | "@vue/test-utils": "1.0.0-beta.29",
|
79 |
| - "autoprefixer": "^9.5.1", |
80 |
| - "babel-core": "7.0.0-bridge.0", |
81 |
| - "babel-eslint": "10.0.1", |
| 52 | + "autoprefixer": "9.5.1", |
| 53 | + "babel-eslint": "10.1.0", |
82 | 54 | "babel-jest": "23.6.0",
|
| 55 | + "babel-plugin-dynamic-import-node": "2.3.3", |
83 | 56 | "chalk": "2.4.2",
|
84 | 57 | "chokidar": "2.1.5",
|
85 | 58 | "connect": "3.6.6",
|
86 |
| - "eslint": "5.15.3", |
87 |
| - "eslint-plugin-vue": "5.2.2", |
| 59 | + "eslint": "6.7.2", |
| 60 | + "eslint-plugin-vue": "6.2.2", |
88 | 61 | "html-webpack-plugin": "3.2.0",
|
89 | 62 | "husky": "1.3.1",
|
90 | 63 | "lint-staged": "8.1.5",
|
91 | 64 | "mockjs": "1.0.1-beta3",
|
92 | 65 | "plop": "2.3.0",
|
93 |
| - "runjs": "^4.3.2", |
94 |
| - "sass": "^1.26.2", |
95 |
| - "sass-loader": "^7.1.0", |
| 66 | + "runjs": "4.3.2", |
| 67 | + "sass": "1.26.2", |
| 68 | + "sass-loader": "8.0.2", |
96 | 69 | "script-ext-html-webpack-plugin": "2.1.3",
|
97 |
| - "serve-static": "^1.13.2", |
| 70 | + "serve-static": "1.13.2", |
98 | 71 | "svg-sprite-loader": "4.1.3",
|
99 | 72 | "svgo": "1.2.0",
|
100 | 73 | "vue-template-compiler": "2.6.10"
|
101 | 74 | },
|
| 75 | + "browserslist": [ |
| 76 | + "> 1%", |
| 77 | + "last 2 versions" |
| 78 | + ], |
| 79 | + "bugs": { |
| 80 | + "url": "https://github.com/PanJiaChen/vue-element-admin/issues" |
| 81 | + }, |
102 | 82 | "engines": {
|
103 | 83 | "node": ">=8.9",
|
104 | 84 | "npm": ">= 3.0.0"
|
105 | 85 | },
|
106 |
| - "browserslist": [ |
107 |
| - "> 1%", |
108 |
| - "last 2 versions" |
109 |
| - ] |
| 86 | + "keywords": [ |
| 87 | + "vue", |
| 88 | + "admin", |
| 89 | + "dashboard", |
| 90 | + "element-ui", |
| 91 | + "boilerplate", |
| 92 | + "admin-template", |
| 93 | + "management-system" |
| 94 | + ], |
| 95 | + "license": "MIT", |
| 96 | + "lint-staged": { |
| 97 | + "src/**/*.{js,vue}": [ |
| 98 | + "eslint --fix", |
| 99 | + "git add" |
| 100 | + ] |
| 101 | + }, |
| 102 | + "husky": { |
| 103 | + "hooks": { |
| 104 | + "pre-commit": "lint-staged" |
| 105 | + } |
| 106 | + }, |
| 107 | + "repository": { |
| 108 | + "type": "git", |
| 109 | + "url": "git+https://github.com/PanJiaChen/vue-element-admin.git" |
| 110 | + } |
110 | 111 | }
|
0 commit comments