Browse Source

兼容node18

ZaiZai 8 months ago
parent
commit
f171eef0f0
1 changed files with 60 additions and 0 deletions
  1. 60 0
      package-打包.json

+ 60 - 0
package-打包.json

@@ -0,0 +1,60 @@
+{
+  "name": "saber-admin",
+  "version": "2.9.1",
+  "private": true,
+  "scripts": {
+    "serve": "vue-cli-service serve",
+    "build": "vue-cli-service build",
+    "build:zip": "sh ./scripts/build.sh all",
+    "build:zip:wgt": "sh ./scripts/build.sh wgt",
+    "build:test": "sh ./scripts/build.sh all test",
+    "build:test:wgt": "sh ./scripts/build.sh wgt test"
+  },
+  "dependencies": {
+    "@antv/g2plot": "^2.4.20",
+    "@johmun/vue-tags-input": "^2.1.0",
+    "avue-plugin-ueditor": "^0.1.4",
+    "axios": "^1.4.0",
+    "babel-polyfill": "^6.26.0",
+    "classlist-polyfill": "^1.2.0",
+    "crypto-js": "^4.0.0",
+    "element-ui": "^2.15.6",
+    "js-base64": "^2.5.1",
+    "js-cookie": "^2.2.0",
+    "js-md5": "^0.7.3",
+    "mockjs": "^1.0.1-beta3",
+    "node-gyp": "^5.0.6",
+    "nprogress": "^0.2.0",
+    "portfinder": "^1.0.23",
+    "script-loader": "^0.7.2",
+    "vue": "^2.6.10",
+    "vue-axios": "^2.1.2",
+    "vue-i18n": "^8.7.0",
+    "vue-router": "^3.0.1",
+    "vuedraggable": "^2.24.3",
+    "vuex": "^3.1.1"
+  },
+  "devDependencies": {
+    "@vue/cli-plugin-babel": "^3.1.1",
+    "@vue/cli-plugin-eslint": "^3.1.5",
+    "@vue/cli-service": "^3.1.4",
+    "archiver": "^5.3.1",
+    "chai": "^4.1.2",
+    "node-sass": "^7.0.3",
+    "sass-loader": "^10.4.1",
+    "screenfull": "^5.1.0",
+    "vue-template-compiler": "^2.5.17",
+    "vue2-ace-editor": "^0.0.15",
+    "webpack-bundle-analyzer": "^4.5.0"
+  },
+  "lint-staged": {
+    "*.js": [
+      "vue-cli-service lint",
+      "git add"
+    ],
+    "*.vue": [
+      "vue-cli-service lint",
+      "git add"
+    ]
+  }
+}