|
|
@@ -10,7 +10,6 @@
|
|
|
"dev": "cross-env APP_TYPE=site umi dev",
|
|
|
"dev:no-mock": "cross-env MOCK=none umi dev",
|
|
|
"build": "umi build",
|
|
|
- "site": "npm run presite && cross-env APP_TYPE=site npm run build && firebase deploy && npm run docker:push",
|
|
|
"analyze": "cross-env ANALYZE=1 umi build",
|
|
|
"lint:style": "stylelint \"src/**/*.less\" --syntax less",
|
|
|
"lint:prettier": "check-prettier lint",
|
|
|
@@ -18,8 +17,6 @@
|
|
|
"lint:fix": "eslint --fix --ext .js src mock tests && npm run lint:style",
|
|
|
"lint-staged": "lint-staged",
|
|
|
"lint-staged:js": "eslint --ext .js",
|
|
|
- "tslint": "npm run tslint:fix",
|
|
|
- "tslint:fix": "tslint --fix 'src/**/*.ts*'",
|
|
|
"test": "umi test",
|
|
|
"test:component": "umi test ./src/components",
|
|
|
"test:all": "node ./tests/run-tests.js",
|
|
|
@@ -33,33 +30,24 @@
|
|
|
"docker:push": "npm run docker-hub:build && npm run docker:tag && docker push antdesign/ant-design-pro"
|
|
|
},
|
|
|
"dependencies": {
|
|
|
- "@antv/data-set": "^0.10.0",
|
|
|
- "@babel/runtime": "^7.2.0",
|
|
|
- "antd": "^3.11.6",
|
|
|
- "bizcharts": "^3.4.2",
|
|
|
- "bizcharts-plugin-slider": "^2.1.1-beta.1",
|
|
|
- "chalk": "^2.4.2",
|
|
|
+ "ant-design-pro": "^2.1.1",
|
|
|
+ "antd": "^3.10.9",
|
|
|
"classnames": "^2.2.6",
|
|
|
"dva": "^2.4.0",
|
|
|
- "enquire-js": "^0.2.1",
|
|
|
- "hash.js": "^1.1.5",
|
|
|
"lodash": "^4.17.10",
|
|
|
"lodash-decorators": "^6.0.0",
|
|
|
"memoize-one": "^5.0.0",
|
|
|
"moment": "^2.22.2",
|
|
|
"numeral": "^2.0.6",
|
|
|
"nzh": "^1.0.3",
|
|
|
- "omit.js": "^1.0.0",
|
|
|
"path-to-regexp": "^2.4.0",
|
|
|
"prop-types": "^15.5.10",
|
|
|
"qs": "^6.6.0",
|
|
|
"rc-animate": "^2.4.4",
|
|
|
"react": "^16.6.3",
|
|
|
"react-container-query": "^0.11.0",
|
|
|
- "react-copy-to-clipboard": "^5.0.1",
|
|
|
"react-document-title": "^2.0.3",
|
|
|
"react-dom": "^16.6.3",
|
|
|
- "react-fittext": "^1.0.0",
|
|
|
"react-media": "^1.8.0",
|
|
|
"react-router-dom": "^4.3.1",
|
|
|
"umi-request": "^1.0.0"
|
|
|
@@ -83,7 +71,6 @@
|
|
|
"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.1",
|
|
|
"husky": "^1.2.0",
|
|
|
"jest-puppeteer": "^3.5.1",
|
|
|
"less": "^3.9.0",
|