Skip to content

Commit

Permalink
allow for React 16 as peerDependency
Browse files Browse the repository at this point in the history
Summary:
**Summary**

As Sophie suggested adding React 16 RC helps to avoid peerDep warnings. see https://twitter.com/sophiebits/status/906661088472813568
Closes facebookarchive/draft-js#1385

Differential Revision: D5898819

fbshipit-source-id: 56dc61046d9fc5af1074af8eda7c45b57923573d
  • Loading branch information
nikgraf authored and facebook-github-bot committed Sep 25, 2017
1 parent 04264f2 commit 36b6dd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"object-assign": "^4.1.0"
},
"peerDependencies": {
"react": "^0.14.0 || ^15.0.0-rc",
"react-dom": "^0.14.0 || ^15.0.0-rc"
"react": "^0.14.0 || ^15.0.0-rc || ^16.0.0-rc",
"react-dom": "^0.14.0 || ^15.0.0-rc || ^16.0.0-rc"
},
"devDependencies": {
"babel-core": "^6.8.0",
Expand Down

0 comments on commit 36b6dd0

Please sign in to comment.