陈帅 пре 7 година
родитељ
комит
fc8c9a5159
2 измењених фајлова са 9 додато и 7 уклоњено
  1. 3 0
      .webpackrc.js
  2. 6 7
      package.json

+ 3 - 0
.webpackrc.js

@@ -21,6 +21,9 @@ export default {
   html: {
     template: './src/index.ejs',
   },
+  lessLoaderOptions: {
+    javascriptEnabled: true,
+  },
   disableDynamicImport: true,
   publicPath: '/',
   hash: true,

+ 6 - 7
package.json

@@ -26,15 +26,14 @@
     "antd": "^3.4.3",
     "babel-plugin-transform-decorators-legacy": "^1.3.4",
     "babel-runtime": "^6.9.2",
-    "bizcharts": "^3.1.5",
+    "bizcharts": "^3.1.10",
     "bizcharts-plugin-slider": "^2.0.1",
     "classnames": "^2.2.5",
     "dva": "^2.2.3",
     "dva-loading": "^2.0.3",
     "enquire-js": "^0.2.1",
-    "less": "2.7.2",
     "lodash": "^4.17.10",
-    "lodash-decorators": "^5.0.0",
+    "lodash-decorators": "^6.0.0",
     "moment": "^2.19.1",
     "numeral": "^2.0.6",
     "omit.js": "^1.0.0",
@@ -42,10 +41,10 @@
     "prop-types": "^15.5.10",
     "qs": "^6.5.0",
     "rc-drawer": "^1.2.0",
-    "react": "^16.2.0",
+    "react": "^16.4.1",
     "react-container-query": "^0.11.0",
     "react-document-title": "^2.0.3",
-    "react-dom": "^16.2.0",
+    "react-dom": "^16.4.1",
     "react-fittext": "^1.0.0",
     "rollbar": "^2.3.4",
     "url-polyfill": "^1.0.10"
@@ -59,7 +58,7 @@
     "cross-port-killer": "^1.0.1",
     "enzyme": "^3.1.0",
     "eslint": "^4.14.0",
-    "eslint-config-airbnb": "^16.0.0",
+    "eslint-config-airbnb": "^17.0.0",
     "eslint-config-prettier": "^2.9.0",
     "eslint-plugin-babel": "^5.1.0",
     "eslint-plugin-compat": "^2.1.0",
@@ -75,7 +74,7 @@
     "pro-download": "^1.0.1",
     "redbox-react": "^1.5.0",
     "regenerator-runtime": "^0.11.1",
-    "roadhog": "^2.4.1",
+    "roadhog": "^1.4.1",
     "roadhog-api-doc": "^1.0.3",
     "stylelint": "^9.2.1",
     "stylelint-config-prettier": "^3.0.4",