[change] make react-dom a peer dependency

This commit is contained in:
Nicolas Gallagher
2017-04-13 19:24:17 -07:00
parent 8f736ddefe
commit 0863894f40
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ online with [React Native for Web: Playground](http://codepen.io/necolas/pen/PZz
To install in your app:
```
npm install --save react@15.4 react-native-web
npm install --save react@15.4 react-dom@15.4 react-native-web
```
Read the [Client and Server rendering](docs/guides/rendering.md) guide.
+3 -2
View File
@@ -34,7 +34,6 @@
"inline-style-prefixer": "^3.0.2",
"normalize-css-color": "^1.0.2",
"prop-types": "^15.5.8",
"react-dom": "~15.4.1",
"react-textarea-autosize": "^4.0.4",
"react-timer-mixin": "^0.13.3"
},
@@ -59,13 +58,15 @@
"prettier": "^1.0.2",
"react": "~15.4.1",
"react-addons-test-utils": "~15.4.1",
"react-dom": "~15.4.1",
"react-test-renderer": "^15.5.4",
"url-loader": "^0.5.8",
"webpack": "^2.3.3",
"webpack-bundle-analyzer": "^2.4.0"
},
"peerDependencies": {
"react": "~15.4.1"
"react": "15.4.x || 15.5.x",
"react-dom": "15.4.x || 15.5.x"
},
"author": "Nicolas Gallagher",
"license": "BSD-3-Clause",