|
|
@@ -1,18 +1,25 @@
|
|
|
{
|
|
|
"name": "litemall-admin",
|
|
|
- "version": "0.1.0",
|
|
|
- "description": "litemall-admin basing on vue-element-admin 3.9.3",
|
|
|
+ "version": "1.0.0",
|
|
|
+ "description": "litemall-admin basing on vue-element-admin 4.2.1",
|
|
|
"author": "linlinjava <linlinjava@163.com>",
|
|
|
"license": "MIT",
|
|
|
- "private": true,
|
|
|
"scripts": {
|
|
|
- "dev": "cross-env BABEL_ENV=development webpack-dev-server --inline --progress --config build/webpack.dev.conf.js",
|
|
|
- "build:dep": "cross-env NODE_ENV=production env_config=dep node build/build.js",
|
|
|
- "build:prod": "cross-env NODE_ENV=production env_config=prod node build/build.js",
|
|
|
+ "dev": "vue-cli-service serve",
|
|
|
+ "build": "vue-cli-service build --mode production",
|
|
|
+ "build:prod": "vue-cli-service build --mode production",
|
|
|
+ "build:dep": "vue-cli-service build --mode deployment",
|
|
|
+ "preview": "node build/index.js --preview",
|
|
|
"lint": "eslint --ext .js,.vue src",
|
|
|
- "test": "npm run lint",
|
|
|
- "precommit": "lint-staged",
|
|
|
- "svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml"
|
|
|
+ "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",
|
|
|
+ "new": "plop"
|
|
|
+ },
|
|
|
+ "husky": {
|
|
|
+ "hooks": {
|
|
|
+ "pre-commit": "lint-staged"
|
|
|
+ }
|
|
|
},
|
|
|
"lint-staged": {
|
|
|
"src/**/*.{js,vue}": [
|
|
|
@@ -20,90 +27,80 @@
|
|
|
"git add"
|
|
|
]
|
|
|
},
|
|
|
+ "keywords": [
|
|
|
+ "vue",
|
|
|
+ "admin",
|
|
|
+ "dashboard",
|
|
|
+ "element-ui",
|
|
|
+ "boilerplate",
|
|
|
+ "admin-template",
|
|
|
+ "management-system"
|
|
|
+ ],
|
|
|
+ "repository": {
|
|
|
+ "type": "git",
|
|
|
+ "url": "git+https://github.com/linlinjava/litemall.git"
|
|
|
+ },
|
|
|
+ "bugs": {
|
|
|
+ "url": "https://github.com/linlinjava/litemall/issues"
|
|
|
+ },
|
|
|
"dependencies": {
|
|
|
"@tinymce/tinymce-vue": "1.1.0",
|
|
|
- "@riophae/vue-treeselect": "0.0.37",
|
|
|
"v-charts": "1.19.0",
|
|
|
- "axios": ">=0.18.1",
|
|
|
- "clipboard": "1.7.1",
|
|
|
+ "axios": "0.18.1",
|
|
|
+ "clipboard": "2.0.4",
|
|
|
"connect": "3.6.6",
|
|
|
- "echarts": "4.1.0",
|
|
|
+ "echarts": "4.2.1",
|
|
|
"element-ui": "2.12.0",
|
|
|
"file-saver": "1.3.8",
|
|
|
- "font-awesome": "4.7.0",
|
|
|
"js-cookie": "2.2.0",
|
|
|
- "jszip": "3.1.5",
|
|
|
+ "jszip": "3.2.1",
|
|
|
"normalize.css": "7.0.0",
|
|
|
"nprogress": "0.2.0",
|
|
|
- "screenfull": "3.3.3",
|
|
|
- "vue": "2.5.17",
|
|
|
+ "screenfull": "4.2.0",
|
|
|
+ "vue": "2.6.10",
|
|
|
"vue-count-to": "1.0.13",
|
|
|
- "vue-router": "3.0.1",
|
|
|
- "vuex": "3.0.1",
|
|
|
- "xlsx": "^0.11.16"
|
|
|
+ "vue-router": "3.0.2",
|
|
|
+ "vuex": "3.1.0",
|
|
|
+ "xlsx": "0.14.1"
|
|
|
},
|
|
|
"devDependencies": {
|
|
|
- "autoprefixer": "8.5.0",
|
|
|
- "babel-core": "6.26.3",
|
|
|
- "babel-eslint": "8.2.6",
|
|
|
- "babel-helper-vue-jsx-merge-props": "2.0.3",
|
|
|
- "babel-loader": "7.1.5",
|
|
|
- "babel-plugin-dynamic-import-node": "2.0.0",
|
|
|
- "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",
|
|
|
- "copy-webpack-plugin": "4.5.2",
|
|
|
- "cross-env": "5.2.0",
|
|
|
- "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",
|
|
|
- "file-loader": "1.1.11",
|
|
|
- "friendly-errors-webpack-plugin": "1.7.0",
|
|
|
- "hash-sum": "1.0.2",
|
|
|
- "html-webpack-plugin": "4.0.0-alpha",
|
|
|
- "husky": "0.14.3",
|
|
|
- "lint-staged": "7.2.2",
|
|
|
- "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.13",
|
|
|
- "postcss-import": "11.1.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",
|
|
|
+ "@babel/core": "7.0.0",
|
|
|
+ "@babel/register": "7.0.0",
|
|
|
+ "@vue/cli-plugin-babel": "3.5.3",
|
|
|
+ "@vue/cli-plugin-eslint": "^3.9.1",
|
|
|
+ "@vue/cli-plugin-unit-jest": "3.5.3",
|
|
|
+ "@vue/cli-service": "3.5.3",
|
|
|
+ "@vue/test-utils": "1.0.0-beta.29",
|
|
|
+ "autoprefixer": "^9.5.1",
|
|
|
+ "babel-core": "7.0.0-bridge.0",
|
|
|
+ "babel-eslint": "10.0.1",
|
|
|
+ "babel-jest": "23.6.0",
|
|
|
+ "chalk": "2.4.2",
|
|
|
+ "chokidar": "2.1.5",
|
|
|
+ "connect": "3.6.6",
|
|
|
+ "eslint": "5.15.3",
|
|
|
+ "eslint-plugin-vue": "5.2.2",
|
|
|
+ "html-webpack-plugin": "3.2.0",
|
|
|
+ "husky": "1.3.1",
|
|
|
+ "lint-staged": "8.1.5",
|
|
|
+ "mockjs": "1.0.1-beta3",
|
|
|
+ "node-sass": "^4.9.0",
|
|
|
+ "plop": "2.3.0",
|
|
|
+ "runjs": "^4.3.2",
|
|
|
+ "sass-loader": "^7.1.0",
|
|
|
+ "script-ext-html-webpack-plugin": "2.1.3",
|
|
|
"script-loader": "0.7.2",
|
|
|
- "semver": "5.5.0",
|
|
|
- "serve-static": "1.13.2",
|
|
|
- "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-cli": "3.1.0",
|
|
|
- "webpack-dev-server": "3.1.14",
|
|
|
- "webpack-merge": "4.1.4"
|
|
|
+ "serve-static": "^1.13.2",
|
|
|
+ "svg-sprite-loader": "4.1.3",
|
|
|
+ "svgo": "1.2.0",
|
|
|
+ "vue-template-compiler": "2.6.10"
|
|
|
},
|
|
|
"engines": {
|
|
|
- "node": ">= 6.0.0",
|
|
|
+ "node": ">=8.9",
|
|
|
"npm": ">= 3.0.0"
|
|
|
},
|
|
|
"browserslist": [
|
|
|
"> 1%",
|
|
|
- "last 2 versions",
|
|
|
- "not ie <= 8"
|
|
|
+ "last 2 versions"
|
|
|
]
|
|
|
}
|