fix #1561 fix getDerivedStateFromProps bug
Showing
| ... | @@ -5,9 +5,10 @@ | ... | @@ -5,9 +5,10 @@ |
| "private": true, | "private": true, | ||
| "scripts": { | "scripts": { | ||
| "precommit": "npm run lint-staged", | "precommit": "npm run lint-staged", | ||
| "start": "cross-env ESLINT=none roadhog dev", | "start": "HARD_SOURCE=none cross-env ESLINT=none roadhog dev", | ||
| "start:no-proxy": "cross-env NO_PROXY=true ESLINT=none roadhog dev", | "start:no-proxy": "cross-env NO_PROXY=true ESLINT=none roadhog dev", | ||
| "build": "cross-env ESLINT=none roadhog build", | "build": "cross-env ESLINT=none roadhog build", | ||
| "build-site": "roadhog-api-doc static", | |||
| "site": "roadhog-api-doc static && gh-pages -d dist", | "site": "roadhog-api-doc static && gh-pages -d dist", | ||
| "analyze": "cross-env ANALYZE=true roadhog build", | "analyze": "cross-env ANALYZE=true roadhog build", | ||
| "lint:style": "stylelint \"src/**/*.less\" --syntax less", | "lint:style": "stylelint \"src/**/*.less\" --syntax less", | ||
| ... | @@ -40,10 +41,10 @@ | ... | @@ -40,10 +41,10 @@ |
| "prop-types": "^15.5.10", | "prop-types": "^15.5.10", | ||
| "qs": "^6.5.0", | "qs": "^6.5.0", | ||
| "rc-drawer-menu": "^1.1.0", | "rc-drawer-menu": "^1.1.0", | ||
| "react": "^16.3.1", | "react": "^16.4.0", | ||
| "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.3.1", | "react-dom": "^16.4.0", | ||
| "react-fittext": "^1.0.0", | "react-fittext": "^1.0.0", | ||
| "rollbar": "^2.3.4", | "rollbar": "^2.3.4", | ||
| "url-polyfill": "^1.0.10" | "url-polyfill": "^1.0.10" | ||
| ... | ... |
Please register or sign in to comment