add umi dep
Showing
config/config.js
0 β 100644
... | @@ -6,29 +6,26 @@ | ... | @@ -6,29 +6,26 @@ |
"scripts": { | "scripts": { | ||
"precommit": "npm run lint-staged", | "precommit": "npm run lint-staged", | ||
"presite": "cd functions && npm install", | "presite": "cd functions && npm install", | ||
"start": "cross-env ESLINT=none roadhog dev", | "start": "cross-env ESLINT=none umi dev", | ||
"start:no-proxy": "cross-env NO_PROXY=true ESLINT=none roadhog dev", | "start:no-mock": "cross-env MOCK=none ESLINT=none umi dev", | ||
"build": "cross-env ESLINT=none roadhog build", | "build": "cross-env ESLINT=none umi build", | ||
"site": "npm run presite && rollup -c && npm run build && firebase deploy", | "site": "npm run presite && rollup -c && npm run build && firebase deploy", | ||
"analyze": "cross-env ANALYZE=1 roadhog build", | "analyze": "cross-env ANALYZE=1 umi build", | ||
"lint:style": "stylelint \"src/**/*.less\" --syntax less", | "lint:style": "stylelint \"src/**/*.less\" --syntax less", | ||
"lint": "eslint --ext .js src mock tests && npm run lint:style", | "lint": "eslint --ext .js src mock tests && npm run lint:style", | ||
"lint:fix": "eslint --fix --ext .js src mock tests && npm run lint:style", | "lint:fix": "eslint --fix --ext .js src mock tests && npm run lint:style", | ||
"lint-staged": "lint-staged", | "lint-staged": "lint-staged", | ||
"lint-staged:js": "eslint --ext .js", | "lint-staged:js": "eslint --ext .js", | ||
"test": "roadhog test", | "test": "umi test", | ||
"test:component": "roadhog test ./src/components", | "test:component": "umi test ./src/components", | ||
"test:all": "node ./tests/run-tests.js", | "test:all": "node ./tests/run-tests.js", | ||
"prettier": "prettier --write ./src/**/**/**/*" | "prettier": "prettier --write ./src/**/**/**/*" | ||
}, | }, | ||
"dependencies": { | "dependencies": { | ||
"@antv/data-set": "^0.8.0", | "@antv/data-set": "^0.8.0", | ||
"antd": "^3.6.5", | |||
"bizcharts": "^3.1.10", | "bizcharts": "^3.1.10", | ||
"bizcharts-plugin-slider": "^2.0.3", | "bizcharts-plugin-slider": "^2.0.3", | ||
"classnames": "^2.2.6", | "classnames": "^2.2.6", | ||
"dva": "^2.3.1", | |||
"dva-loading": "^2.0.3", | |||
"enquire-js": "^0.2.1", | "enquire-js": "^0.2.1", | ||
"lodash": "^4.17.4", | "lodash": "^4.17.4", | ||
"lodash-decorators": "^6.0.0", | "lodash-decorators": "^6.0.0", | ||
... | @@ -40,15 +37,14 @@ | ... | @@ -40,15 +37,14 @@ |
"prop-types": "^15.5.10", | "prop-types": "^15.5.10", | ||
"qs": "^6.5.2", | "qs": "^6.5.2", | ||
"rc-drawer": "^1.5.2", | "rc-drawer": "^1.5.2", | ||
"react": "^16.4.1", | |||
"react-container-query": "^0.11.0", | "react-container-query": "^0.11.0", | ||
"react-document-title": "^2.0.3", | "react-document-title": "^2.0.3", | ||
"react-dom": "^16.4.1", | |||
"react-fittext": "^1.0.0", | "react-fittext": "^1.0.0", | ||
"rollbar": "^2.3.4", | "rollbar": "^2.3.4", | ||
"rollup": "^0.62.0", | "rollup": "^0.62.0", | ||
"rollup-plugin-json": "^3.0.0", | "rollup-plugin-json": "^3.0.0", | ||
"setprototypeof": "^1.1.0", | "setprototypeof": "^1.1.0", | ||
"umi": "^1.3.13", | |||
"url-polyfill": "^1.0.10" | "url-polyfill": "^1.0.10" | ||
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
... | @@ -82,7 +78,6 @@ | ... | @@ -82,7 +78,6 @@ |
"pro-download": "^1.0.1", | "pro-download": "^1.0.1", | ||
"redbox-react": "^1.5.0", | "redbox-react": "^1.5.0", | ||
"regenerator-runtime": "^0.12.0", | "regenerator-runtime": "^0.12.0", | ||
"roadhog": "^2.4.2", | |||
"stylelint": "^9.2.1", | "stylelint": "^9.2.1", | ||
"stylelint-config-prettier": "^3.0.4", | "stylelint-config-prettier": "^3.0.4", | ||
"stylelint-config-standard": "^18.0.0" | "stylelint-config-standard": "^18.0.0" | ||
... | ... |
Please register or sign in to comment