Browse Source

更新package.json编译脚本

shangke 2 years ago
parent
commit
31b75b347c
1 changed files with 134 additions and 133 deletions
  1. 134 133
      package.json

+ 134 - 133
package.json

@@ -1,133 +1,134 @@
-{
-  "name": "vue-element-admin",
-  "version": "4.2.1",
-  "license": "MIT",
-  "scripts": {
-    "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: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}": [
-      "eslint --fix",
-      "git add"
-    ]
-  },
-  "keywords": [
-    "vue",
-    "admin",
-    "dashboard",
-    "element-ui",
-    "boilerplate",
-    "admin-template",
-    "management-system"
-  ],
-  "dependencies": {
-    "@antv/g6": "3.1.10",
-    "@antv/g6-editor": "^1.2.0",
-    "@antv/util": "1.3.1",
-    "@riophae/vue-treeselect": "0.4.0",
-    "@toast-ui/editor": "^3.1.3",
-    "ace-builds": "^1.4.12",
-    "axios": "^0.21.1",
-    "cache-loader": "^4.1.0",
-    "clipboard": "^2.0.6",
-    "codemirror": "^5.58.1",
-    "core-js": "^2.6.11",
-    "dayjs": "^1.11.3",
-    "driver.js": "0.9.5",
-    "dropzone": "5.5.1",
-    "e-icon-picker": "1.0.7",
-    "echarts": "^4.8.0",
-    "element-ui": "^2.13.2",
-    "file-saver": "2.0.1",
-    "form-making": "^1.2.8",
-    "fuse.js": "3.4.4",
-    "js-cookie": "2.2.0",
-    "jsonlint": "1.6.3",
-    "jszip": "3.2.1",
-    "moment": "^2.27.0",
-    "monaco-editor": "^0.20.0",
-    "normalize.css": "7.0.0",
-    "nprogress": "0.2.0",
-    "numericjs": "^1.2.6",
-    "path-to-regexp": "2.4.0",
-    "qiniu-js": "^3.0.3",
-    "qs": "^6.10.1",
-    "screenfull": "4.2.0",
-    "showdown": "^1.9.1",
-    "solarlunar": "^2.0.7",
-    "sortablejs": "1.8.4",
-    "viewerjs": "^1.6.1",
-    "vue": "^2.6.12",
-    "vue-codemirror": "^4.0.6",
-    "vue-codemirror-lite": "^1.0.4",
-    "vue-count-to": "1.0.13",
-    "vue-cropper": "^0.5.0",
-    "vue-i18n": "^6.1.3",
-    "vue-loader": "^15.9.3",
-    "vue-particles": "^1.0.9",
-    "vue-quill-editor": "^3.0.6",
-    "vue-router": "3.0.2",
-    "vue-splitpane": "1.0.4",
-    "vue2-editor": "^2.10.2",
-    "vuedraggable": "2.20.0",
-    "vueify": "^9.4.1",
-    "vuex": "3.1.0",
-    "xlsx": "^0.14.1"
-  },
-  "devDependencies": {
-    "@babel/core": "7.0.0",
-    "@babel/register": "^7.9.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",
-    "beautifier": "^0.1.7",
-    "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",
-    "monaco-editor-webpack-plugin": "^1.9.0",
-    "node-sass": "^4.13.1",
-    "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",
-    "serve-static": "^1.13.2",
-    "svg-sprite-loader": "4.1.3",
-    "svgo": "1.2.0",
-    "vue-template-compiler": "^2.6.12",
-    "webpack": "^4.23.0"
-  },
-  "engines": {
-    "node": ">=8.9",
-    "npm": ">= 3.0.0"
-  },
-  "browserslist": [
-    "> 1%",
-    "last 2 versions"
-  ]
-}
+{
+  "name": "vue-element-admin",
+  "version": "4.2.1",
+  "license": "MIT",
+  "scripts": {
+    "dev": "vue-cli-service serve",
+    "build": "vue-cli-service build",
+    "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: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}": [
+      "eslint --fix",
+      "git add"
+    ]
+  },
+  "keywords": [
+    "vue",
+    "admin",
+    "dashboard",
+    "element-ui",
+    "boilerplate",
+    "admin-template",
+    "management-system"
+  ],
+  "dependencies": {
+    "@antv/g6": "3.1.10",
+    "@antv/g6-editor": "^1.2.0",
+    "@antv/util": "1.3.1",
+    "@riophae/vue-treeselect": "0.4.0",
+    "@toast-ui/editor": "^3.1.3",
+    "ace-builds": "^1.4.12",
+    "axios": "^0.21.1",
+    "cache-loader": "^4.1.0",
+    "clipboard": "^2.0.6",
+    "codemirror": "^5.58.1",
+    "core-js": "^2.6.11",
+    "dayjs": "^1.11.3",
+    "driver.js": "0.9.5",
+    "dropzone": "5.5.1",
+    "e-icon-picker": "1.0.7",
+    "echarts": "^4.8.0",
+    "element-ui": "^2.13.2",
+    "file-saver": "2.0.1",
+    "form-making": "^1.2.8",
+    "fuse.js": "3.4.4",
+    "js-cookie": "2.2.0",
+    "jsonlint": "1.6.3",
+    "jszip": "3.2.1",
+    "moment": "^2.27.0",
+    "monaco-editor": "^0.20.0",
+    "normalize.css": "7.0.0",
+    "nprogress": "0.2.0",
+    "numericjs": "^1.2.6",
+    "path-to-regexp": "2.4.0",
+    "qiniu-js": "^3.0.3",
+    "qs": "^6.10.1",
+    "screenfull": "4.2.0",
+    "showdown": "^1.9.1",
+    "solarlunar": "^2.0.7",
+    "sortablejs": "1.8.4",
+    "viewerjs": "^1.6.1",
+    "vue": "^2.6.12",
+    "vue-codemirror": "^4.0.6",
+    "vue-codemirror-lite": "^1.0.4",
+    "vue-count-to": "1.0.13",
+    "vue-cropper": "^0.5.0",
+    "vue-i18n": "^6.1.3",
+    "vue-loader": "^15.9.3",
+    "vue-particles": "^1.0.9",
+    "vue-quill-editor": "^3.0.6",
+    "vue-router": "3.0.2",
+    "vue-splitpane": "1.0.4",
+    "vue2-editor": "^2.10.2",
+    "vuedraggable": "2.20.0",
+    "vueify": "^9.4.1",
+    "vuex": "3.1.0",
+    "xlsx": "^0.14.1"
+  },
+  "devDependencies": {
+    "@babel/core": "7.0.0",
+    "@babel/register": "^7.9.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",
+    "beautifier": "^0.1.7",
+    "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",
+    "monaco-editor-webpack-plugin": "^1.9.0",
+    "node-sass": "^4.13.1",
+    "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",
+    "serve-static": "^1.13.2",
+    "svg-sprite-loader": "4.1.3",
+    "svgo": "1.2.0",
+    "vue-template-compiler": "^2.6.12",
+    "webpack": "^4.23.0"
+  },
+  "engines": {
+    "node": ">=8.9",
+    "npm": ">= 3.0.0"
+  },
+  "browserslist": [
+    "> 1%",
+    "last 2 versions"
+  ]
+}