Skip to content

Commit

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

* Remove react and react-dom from dependencies

* Remove comma
  • Loading branch information
koteus authored and wuweiweiwu committed Mar 6, 2019
1 parent ebe3aab commit d055f7f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@
},
"dependencies": {
"prop-types": "^15.5.10",
"react": "^16.6.3",
"react-dom": "^16.6.3",
"react-lifecycles-compat": "^3.0.4",
"react-style-proptype": "^3.0.0"
},
Expand Down Expand Up @@ -80,10 +78,16 @@
"mochify-istanbul": "^2.4.2",
"prettier": "1.15.3",
"pretty-quick": "^1.8.0",
"react": "^16.6.3",
"react-dom": "^16.6.3",
"rimraf": "^2.6.2",
"rollup": "^0.60.7",
"rollup-plugin-babel": "^4.0.3",
"rollup-plugin-commonjs": "^9.1.3",
"rollup-plugin-node-resolve": "^3.3.0"
},
"peerDependencies": {
"react": "^16.0.0-0",
"react-dom": "^16.0.0-0"
}
}

0 comments on commit d055f7f

Please sign in to comment.