Skip to content

Commit

Permalink
fix(react): Move react and react-dom to peerDependencies (#217)
Browse files Browse the repository at this point in the history
* Move react and react-dom to peerDependencies

* Add fixed versions to devDependencies

* Fix typo

* Apply suggestions from code review

Co-Authored-By: arybinski <[email protected]>
  • Loading branch information
Adam Rybinski authored and cal-smith committed Mar 20, 2019
1 parent 4d0b5e1 commit e1d0b36
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,12 @@
},
"homepage": "https://github.com/IBM/carbon-charts#readme",
"dependencies": {
"@carbon/charts": "^0.11.0",
"react": "16.6.3",
"react-dom": "16.6.3"
"@carbon/charts": "^0.11.0"
},
"peerDependencies": {
"react": "^16.6.3",
"react-dom": "^16.6.3"
},
"devDependencies": {
"@storybook/addon-options": "4.0.7",
"@storybook/react": "4.0.7",
Expand All @@ -47,6 +49,8 @@
"css-loader": "0.28.7",
"img-loader": "2.0.0",
"node-sass": "4.10.0",
"react": "16.6.3",
"react-dom": "16.6.3",
"rollup": "0.67.3",
"rollup-plugin-babel": "3.0.4",
"rollup-plugin-commonjs": "9.2.0",
Expand Down

0 comments on commit e1d0b36

Please sign in to comment.