Bladeren bron

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

Rich 7 jaren geleden
bovenliggende
commit
fb694c0b80
1 gewijzigde bestanden met toevoegingen van 4 en 0 verwijderingen
  1. 4
    0
      package.json

+ 4
- 0
package.json Bestand weergeven

@@ -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"