Browse Source

Add React and React-native to peer dependencies to make versions explicit

Rich 7 years ago
parent
commit
fb694c0b80
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      package.json

+ 4
- 0
package.json View File

26
     "url": "https://github.com/iou90/react-native-autoheight-webview/issues"
26
     "url": "https://github.com/iou90/react-native-autoheight-webview/issues"
27
   },
27
   },
28
   "homepage": "https://github.com/iou90/react-native-autoheight-webview#readme",
28
   "homepage": "https://github.com/iou90/react-native-autoheight-webview#readme",
29
+  "peerDependencies": {
30
+    "react": "*",
31
+    "react-native": ">= 0.47.0"
32
+  },
29
   "dependencies": {
33
   "dependencies": {
30
     "immutable": "^3.8.1",
34
     "immutable": "^3.8.1",
31
     "prop-types": "^15.5.10"
35
     "prop-types": "^15.5.10"