|
@@ -1,82 +1,59 @@
|
|
|
{
|
|
|
"name": "vue-admin-template",
|
|
|
- "version": "3.9.0",
|
|
|
- "license": "MIT",
|
|
|
+ "version": "4.1.0",
|
|
|
"description": "A vue admin template with Element UI & axios & iconfont & permission control & lint",
|
|
|
"author": "Pan <panfree23@gmail.com>",
|
|
|
+ "license": "MIT",
|
|
|
"scripts": {
|
|
|
- "dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js",
|
|
|
- "start": "npm run dev",
|
|
|
- "build": "node build/build.js",
|
|
|
- "build:report": "npm_config_report=true npm run build",
|
|
|
+ "dev": "vue-cli-service serve",
|
|
|
+ "build:prod": "vue-cli-service build",
|
|
|
+ "build:stage": "vue-cli-service build --mode staging",
|
|
|
+ "preview": "node build/index.js --preview",
|
|
|
"lint": "eslint --ext .js,.vue src",
|
|
|
- "test": "npm run lint",
|
|
|
+ "test:unit": "jest --clearCache && vue-cli-service test:unit",
|
|
|
+ "test:ci": "npm run lint && npm run test:unit",
|
|
|
"svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml"
|
|
|
},
|
|
|
"dependencies": {
|
|
|
"axios": "0.18.0",
|
|
|
- "element-ui": "2.4.6",
|
|
|
+ "element-ui": "2.7.2",
|
|
|
"js-cookie": "2.2.0",
|
|
|
- "mockjs": "1.0.1-beta3",
|
|
|
"normalize.css": "7.0.0",
|
|
|
"nprogress": "0.2.0",
|
|
|
- "vue": "2.5.17",
|
|
|
- "vue-router": "3.0.1",
|
|
|
- "vuex": "3.0.1"
|
|
|
+ "path-to-regexp": "2.4.0",
|
|
|
+ "vue": "2.6.10",
|
|
|
+ "vue-router": "3.0.6",
|
|
|
+ "vuex": "3.1.0"
|
|
|
},
|
|
|
"devDependencies": {
|
|
|
- "autoprefixer": "8.5.0",
|
|
|
- "babel-core": "6.26.0",
|
|
|
- "babel-eslint": "8.2.6",
|
|
|
- "babel-helper-vue-jsx-merge-props": "2.0.3",
|
|
|
- "babel-loader": "7.1.5",
|
|
|
- "babel-plugin-syntax-jsx": "6.18.0",
|
|
|
- "babel-plugin-transform-runtime": "6.23.0",
|
|
|
- "babel-plugin-transform-vue-jsx": "3.7.0",
|
|
|
- "babel-preset-env": "1.7.0",
|
|
|
- "babel-preset-stage-2": "6.24.1",
|
|
|
- "chalk": "2.4.1",
|
|
|
- "compression-webpack-plugin": "2.0.0",
|
|
|
- "copy-webpack-plugin": "4.5.2",
|
|
|
- "css-loader": "1.0.0",
|
|
|
- "eslint": "4.19.1",
|
|
|
- "eslint-friendly-formatter": "4.0.1",
|
|
|
- "eslint-loader": "2.0.0",
|
|
|
- "eslint-plugin-vue": "4.7.1",
|
|
|
- "eventsource-polyfill": "0.9.6",
|
|
|
- "file-loader": "1.1.11",
|
|
|
- "friendly-errors-webpack-plugin": "1.7.0",
|
|
|
- "html-webpack-plugin": "4.0.0-alpha",
|
|
|
- "mini-css-extract-plugin": "0.4.1",
|
|
|
- "node-notifier": "5.2.1",
|
|
|
- "node-sass": "^4.7.2",
|
|
|
- "optimize-css-assets-webpack-plugin": "5.0.0",
|
|
|
- "ora": "3.0.0",
|
|
|
- "path-to-regexp": "2.4.0",
|
|
|
- "portfinder": "1.0.16",
|
|
|
- "postcss-import": "12.0.0",
|
|
|
- "postcss-loader": "2.1.6",
|
|
|
- "postcss-url": "7.3.2",
|
|
|
- "rimraf": "2.6.2",
|
|
|
- "sass-loader": "7.0.3",
|
|
|
- "script-ext-html-webpack-plugin": "2.0.1",
|
|
|
- "semver": "5.5.0",
|
|
|
- "shelljs": "0.8.2",
|
|
|
- "svg-sprite-loader": "3.8.0",
|
|
|
- "svgo": "1.0.5",
|
|
|
- "uglifyjs-webpack-plugin": "1.2.7",
|
|
|
- "url-loader": "1.0.1",
|
|
|
- "vue-loader": "15.3.0",
|
|
|
- "vue-style-loader": "4.1.2",
|
|
|
- "vue-template-compiler": "2.5.17",
|
|
|
- "webpack": "4.16.5",
|
|
|
- "webpack-bundle-analyzer": "2.13.1",
|
|
|
- "webpack-cli": "3.1.0",
|
|
|
- "webpack-dev-server": "3.1.14",
|
|
|
- "webpack-merge": "4.1.4"
|
|
|
+ "@babel/core": "7.0.0",
|
|
|
+ "@babel/register": "7.0.0",
|
|
|
+ "@vue/cli-plugin-babel": "3.6.0",
|
|
|
+ "@vue/cli-plugin-eslint": "3.6.0",
|
|
|
+ "@vue/cli-plugin-unit-jest": "3.6.3",
|
|
|
+ "@vue/cli-service": "3.6.0",
|
|
|
+ "@vue/test-utils": "1.0.0-beta.29",
|
|
|
+ "babel-core": "7.0.0-bridge.0",
|
|
|
+ "babel-eslint": "10.0.1",
|
|
|
+ "babel-jest": "23.6.0",
|
|
|
+ "chalk": "2.4.2",
|
|
|
+ "connect": "3.6.6",
|
|
|
+ "eslint": "5.15.3",
|
|
|
+ "eslint-plugin-vue": "5.2.2",
|
|
|
+ "html-webpack-plugin": "3.2.0",
|
|
|
+ "mockjs": "1.0.1-beta3",
|
|
|
+ "node-sass": "^4.9.0",
|
|
|
+ "runjs": "^4.3.2",
|
|
|
+ "sass-loader": "^7.1.0",
|
|
|
+ "script-ext-html-webpack-plugin": "2.1.3",
|
|
|
+ "script-loader": "0.7.2",
|
|
|
+ "serve-static": "^1.13.2",
|
|
|
+ "svg-sprite-loader": "4.1.3",
|
|
|
+ "svgo": "1.2.2",
|
|
|
+ "vue-template-compiler": "2.6.10"
|
|
|
},
|
|
|
"engines": {
|
|
|
- "node": ">= 6.0.0",
|
|
|
+ "node": ">=8.9",
|
|
|
"npm": ">= 3.0.0"
|
|
|
},
|
|
|
"browserslist": [
|