Skip to content

Commit

Permalink
fix: move react & @types/react to devDep, fixes #1389
Browse files Browse the repository at this point in the history
This is strictly to fix `yarn` problem of not deduping packages
See yarnpkg/yarn#3951 (comment)
for more details
  • Loading branch information
longlho committed Aug 15, 2019
1 parent 9648606 commit 0133241
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 7 deletions.
16 changes: 14 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 9 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,18 @@
"@formatjs/intl-relativetimeformat": "^2.6.3",
"@types/hoist-non-react-statics": "^3.3.1",
"@types/invariant": "^2.2.30",
"@types/react": "^16.0.0",
"hoist-non-react-statics": "^3.3.0",
"intl-format-cache": "^4.1.10",
"intl-locales-supported": "^1.4.5",
"intl-messageformat": "^6.1.5",
"intl-messageformat-parser": "^3.0.7",
"invariant": "^2.1.1",
"react": "^16.3.0",
"shallow-equal": "^1.1.0"
},
"peerDependencies": {
"@types/react": "^16.0.0",
"react": "^16.3.0"
},
"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/node": "^7.5.5",
Expand All @@ -59,16 +61,17 @@
"@types/jest": "^24.0.17",
"@types/prop-types": "^15.7.1",
"@types/react-dom": "^16.8.5",
"@types/react": "^16.0.0",
"@typescript-eslint/eslint-plugin": "^1.13.0",
"@typescript-eslint/parser": "^1.13.0",
"babel-jest": "^24.8.0",
"benchmark": "^2.1.0",
"cross-env": "^5.2.0",
"enzyme": "^3.6.0",
"enzyme-adapter-react-16": "^1.5.0",
"enzyme-to-json": "^3.4.0",
"eslint": "^6.1.0",
"enzyme": "^3.6.0",
"eslint-plugin-react": "^7.14.3",
"eslint": "^6.1.0",
"fs-extra": "^8.1.0",
"full-icu": "^1.3.0",
"glob": "^7.0.0",
Expand All @@ -80,14 +83,15 @@
"pre-commit": "^1.2.2",
"prettier": "^1.6.1",
"react-dom": "^16.9.0",
"react": "^16.3.0",
"rimraf": "^2.4.2",
"rollup": "^1.19.4",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.0.2",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-typescript2": "^0.22.1",
"rollup-plugin-uglify": "^6.0.0",
"rollup": "^1.19.4",
"standard-version": "^7.0.0",
"ts-jest": "^24.0.2",
"ts-node": "^8.3.0",
Expand Down

0 comments on commit 0133241

Please sign in to comment.