mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-04-06 03:57:53 +08:00
* feat: perfect migrate to @vue/cli-service, upgrade vue babel version 1. update to @vue/cli-service@3.0.5, @babel/core@7.0.0 2. use vue-cli service replace config file in build/ and config/ 3. upgrade vue and babel configuration 4. solve the svg-sprite config problem #980 refs: #932 #1087 #980 #1056 * fix: fix breadcrumb dependency * fix: fix index template and static assets load with vue-cli 3 * fix: fix import driver.js in guide page * refactor(mock): mak mock api compatible with both web-view and webpack server 1. 把 Mockjs 功能移到 server 端中间件,同时也兼容前端直接劫持 XHR 2. dev 环境下默认作为 express 中间件通过 webpack server 提供 mock api 3. prod 构建时,默认在前端用 Mockjs 劫持 XHR benefits: - dev 开发调试时能直接看到 XHR 请求,方便调试网络,能和后端对接联调 - 避开在开发时因为 Mockjs 引起的网络 bug - prod 构建时劫持 XHR,保证本项目的 Github Pages preview 能正常显示 (逻辑和 error-log 一样) - 前后台使用的 mock 是同一份代码,不会增加维护负担 ref: [#562](https://github.com/PanJiaChen/vue-element-admin/issues/562#issuecomment-378116233) * update requires the lowest version of node * add favicon * fix(TreeTable): fix `Array.prototype.concat` on custom-tree-table page
105 lines
2.8 KiB
JSON
105 lines
2.8 KiB
JSON
{
|
|
"name": "vue-element-admin",
|
|
"version": "3.9.3",
|
|
"description": "A magical vue admin. Typical templates for enterprise applications. Newest development stack of vue. Lots of awesome features",
|
|
"author": "Pan <panfree23@gmail.com>",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"dev": "vue-cli-service serve",
|
|
"build:prod": "vue-cli-service build",
|
|
"build:sit": "vue-cli-service build --mode text",
|
|
"lint": "eslint --ext .js,.vue src",
|
|
"test": "npm run lint",
|
|
"precommit": "lint-staged",
|
|
"svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml"
|
|
},
|
|
"lint-staged": {
|
|
"src/**/*.{js,vue}": [
|
|
"eslint --fix",
|
|
"git add"
|
|
]
|
|
},
|
|
"keywords": [
|
|
"vue",
|
|
"element-ui",
|
|
"admin",
|
|
"management-system",
|
|
"admin-template"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/PanJiaChen/vue-element-admin.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/PanJiaChen/vue-element-admin/issues"
|
|
},
|
|
"dependencies": {
|
|
"axios": "0.18.0",
|
|
"clipboard": "1.7.1",
|
|
"codemirror": "5.39.2",
|
|
"connect": "3.6.6",
|
|
"driver.js": "0.5.2",
|
|
"dropzone": "5.2.0",
|
|
"echarts": "4.1.0",
|
|
"element-ui": "2.4.6",
|
|
"file-saver": "1.3.8",
|
|
"font-awesome": "4.7.0",
|
|
"js-cookie": "2.2.0",
|
|
"jsonlint": "1.6.3",
|
|
"jszip": "3.1.5",
|
|
"normalize.css": "7.0.0",
|
|
"nprogress": "0.2.0",
|
|
"path-to-regexp": "^2.4.0",
|
|
"screenfull": "3.3.3",
|
|
"showdown": "1.8.6",
|
|
"simplemde": "1.11.2",
|
|
"sortablejs": "1.7.0",
|
|
"vue": "2.5.17",
|
|
"vue-count-to": "1.0.13",
|
|
"vue-i18n": "7.3.2",
|
|
"vue-router": "3.0.1",
|
|
"vue-splitpane": "1.0.2",
|
|
"vuedraggable": "^2.16.0",
|
|
"vuex": "3.0.1",
|
|
"xlsx": "^0.11.16"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.0.0",
|
|
"@babel/register": "7.0.0",
|
|
"@vue/babel-helper-vue-jsx-merge-props": "0.1.0",
|
|
"@vue/cli-plugin-babel": "^3.0.5",
|
|
"@vue/cli-plugin-eslint": "^3.0.5",
|
|
"@vue/cli-plugin-unit-mocha": "^3.0.5",
|
|
"@vue/cli-service": "^3.0.5",
|
|
"@vue/eslint-config-standard": "^3.0.5",
|
|
"@vue/test-utils": "^1.0.0-beta.25",
|
|
"autoprefixer": "8.5.0",
|
|
"babel-plugin-istanbul": "^4.1.6",
|
|
"husky": "0.14.3",
|
|
"lint-staged": "7.2.2",
|
|
"mockjs": "1.0.1-beta3",
|
|
"node-notifier": "5.2.1",
|
|
"node-sass": "^4.7.2",
|
|
"optimize-css-assets-webpack-plugin": "5.0.0",
|
|
"postcss-import": "11.1.0",
|
|
"postcss-loader": "2.1.6",
|
|
"postcss-url": "7.3.2",
|
|
"sass-loader": "7.0.3",
|
|
"script-ext-html-webpack-plugin": "2.0.1",
|
|
"script-loader": "0.7.2",
|
|
"shelljs": "0.8.2",
|
|
"svg-sprite-loader": "3.8.0",
|
|
"svgo": "1.0.5",
|
|
"vue-template-compiler": "2.5.17"
|
|
},
|
|
"engines": {
|
|
"node": ">=8.9",
|
|
"npm": ">= 3.0.0"
|
|
},
|
|
"browserslist": [
|
|
"> 1%",
|
|
"last 2 versions",
|
|
"not ie <= 8"
|
|
]
|
|
}
|