diff --git a/config/plugin.config.js b/config/plugin.config.js index 20e1ca5f3a7467eae3e2ecd1b260c2b3ebf1c359..57f6deb6fc18564c2fd7db3c052f7f5c39a67a2f 100644 --- a/config/plugin.config.js +++ b/config/plugin.config.js @@ -1,7 +1,7 @@ // Change theme plugin import MergeLessPlugin from 'antd-pro-merge-less'; -import AntDesignThemePlugin from 'antd-pro-theme-webpack-plugin'; +import AntDesignThemePlugin from 'antd-theme-webpack-plugin'; import path from 'path'; export default config => { diff --git a/package.json b/package.json index 840d1f3615e17ad00d511c0ef230119cd71aef5d..616b3d44d2909fa94f2fa65c84fdf2e29725744f 100644 --- a/package.json +++ b/package.json @@ -20,15 +20,15 @@ "test:component": "umi test ./src/components", "test:all": "node ./tests/run-tests.js", "prettier": "prettier --write ./src/**/**/**/*", - "docker:dev":"docker-compose -f ./docker/docker-compose.dev.yml up", - "docker:build":"docker-compose -f ./docker/docker-compose.dev.yml build", - "docker-prod:dev":"docker-compose -f ./docker/docker-compose.yml up", - "docker-prod:build":"docker-compose -f ./docker/docker-compose.yml build" + "docker:dev": "docker-compose -f ./docker/docker-compose.dev.yml up", + "docker:build": "docker-compose -f ./docker/docker-compose.dev.yml build", + "docker-prod:dev": "docker-compose -f ./docker/docker-compose.yml up", + "docker-prod:build": "docker-compose -f ./docker/docker-compose.yml build" }, "dependencies": { "@antv/data-set": "^0.9.6", - "@babel/runtime": "^7.0.0", - "antd": "^3.9.2", + "@babel/runtime": "^7.1.2", + "antd": "^3.10.0", "bizcharts": "^3.2.2", "bizcharts-plugin-slider": "^2.0.3", "classnames": "^2.2.6", @@ -55,36 +55,36 @@ "react-router-dom": "^4.3.1" }, "devDependencies": { - "@types/react": "^16.4.11", - "@types/react-dom": "^16.0.6", + "@types/react": "^16.4.16", + "@types/react-dom": "^16.0.9", "antd-pro-merge-less": "^0.0.9", - "antd-pro-theme-webpack-plugin": "^1.1.8", - "babel-eslint": "^9.0.0", + "antd-theme-webpack-plugin": "^1.1.8", + "babel-eslint": "^10.0.1", "cross-env": "^5.1.1", "cross-port-killer": "^1.0.1", - "enzyme": "^3.4.4", + "enzyme": "^3.7.0", "eslint": "^5.4.0", "eslint-config-airbnb": "^17.0.0", "eslint-config-prettier": "^3.0.1", "eslint-plugin-babel": "^5.1.0", - "eslint-plugin-compat": "^2.5.1", + "eslint-plugin-compat": "^2.6.2", "eslint-plugin-import": "^2.8.0", - "eslint-plugin-jsx-a11y": "^6.0.3", + "eslint-plugin-jsx-a11y": "^6.1.2", "eslint-plugin-markdown": "^1.0.0-beta.6", "eslint-plugin-react": "^7.11.1", - "gh-pages": "^2.0.0", - "husky": "^0.14.3", + "gh-pages": "^2.0.1", + "husky": "^1.1.2", "lint-staged": "^7.2.0", "merge-umi-mock-data": "^0.0.3", "mockjs": "^1.0.1-beta3", - "prettier": "1.14.2", + "prettier": "1.14.3", "pro-download": "^1.0.1", "stylelint": "^9.4.0", "stylelint-config-prettier": "^4.0.0", "stylelint-config-standard": "^18.0.0", - "umi": "^2.1.1", - "umi-plugin-react": "^1.1.1", - "umi-plugin-ga": "^1.1.3" + "umi": "^2.1.2", + "umi-plugin-ga": "^1.1.3", + "umi-plugin-react": "^1.1.1" }, "optionalDependencies": { "puppeteer": "^1.9.0"