Browse Source

npm包还原原始版本

zhangyu 5 years ago
parent
commit
eadb0ba787
2 changed files with 13 additions and 16 deletions
  1. 4 4
      config/prod.env.js
  2. 9 12
      package.json

+ 4 - 4
config/prod.env.js

@@ -1,8 +1,8 @@
 'use strict'
 module.exports = {
     NODE_ENV: '"production"',
-    BASE_URL: '"http://192.168.20.215"', //测试iframe地址
-    SSO_SERVER: '"http://192.168.20.101:8004"' //测试环境
-    // BASE_URL: '"http://mbi.sagacloud.cn"', //线上iframe地址
-    // SSO_SERVER: '"http://sso.sagacloud.cn"'  //正式环境
+    // BASE_URL: '"http://192.168.20.215"', //测试iframe地址
+    // SSO_SERVER: '"http://192.168.20.101:8004"' //测试环境
+    BASE_URL: '"http://mbi.sagacloud.cn"', //线上iframe地址
+    SSO_SERVER: '"http://sso.sagacloud.cn"'  //正式环境
 }

+ 9 - 12
package.json

@@ -10,19 +10,16 @@
         "build": "node build/build.js"
     },
     "dependencies": {
-        "@handsontable-pro/vue": "^3.1.1",
-        "@handsontable/vue": "^4.0.0",
         "axios": "^0.18.0",
-        "echarts": "^4.2.1",
-        "element-ui": "^2.8.2",
+        "echarts": "^4.1.0",
+        "element-ui": "^2.6.1",
         "font-awesome": "^4.7.0",
-        "handsontable": "^7.0.3",
         "handsontable-pro": "^3.0.0",
         "jquery": "^3.3.1",
         "vue": "^2.5.2",
         "vue-axios": "^2.1.4",
         "vue-router": "^3.0.1",
-        "vuex": "^3.1.1"
+        "vuex": "^3.1.0"
     },
     "devDependencies": {
         "ajv": "^6.9.1",
@@ -37,7 +34,7 @@
         "babel-preset-stage-2": "^6.22.0",
         "chalk": "^2.0.1",
         "copy-webpack-plugin": "^4.0.1",
-        "css-loader": "^2.1.1",
+        "css-loader": "^0.28.0",
         "extract-text-webpack-plugin": "^3.0.0",
         "file-loader": "^1.1.4",
         "friendly-errors-webpack-plugin": "^1.6.1",
@@ -45,8 +42,8 @@
         "less": "^3.9.0",
         "less-loader": "^4.1.0",
         "node-notifier": "^5.1.2",
-        "node-sass": "^4.12.0",
-        "optimize-css-assets-webpack-plugin": "^5.0.1",
+        "node-sass": "^4.11.0",
+        "optimize-css-assets-webpack-plugin": "^3.2.0",
         "ora": "^1.2.0",
         "portfinder": "^1.0.13",
         "postcss-import": "^11.0.0",
@@ -58,12 +55,12 @@
         "shelljs": "^0.7.6",
         "swiper": "^4.0.0",
         "uglifyjs-webpack-plugin": "^1.1.1",
-        "url-loader": "^1.1.2",
+        "url-loader": "^0.5.8",
         "vue-loader": "^13.3.0",
         "vue-style-loader": "^3.0.1",
         "vue-template-compiler": "^2.5.2",
         "webpack": "^3.6.0",
-        "webpack-bundle-analyzer": "^3.3.2",
+        "webpack-bundle-analyzer": "^2.9.0",
         "webpack-dev-server": "^2.9.1",
         "webpack-merge": "^4.1.0"
     },
@@ -76,4 +73,4 @@
         "last 2 versions",
         "not ie <= 8"
     ]
-}
+}