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