Explorar el Código

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

Rich hace 6 años
padre
commit
fb694c0b80
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4
    0
      package.json

+ 4
- 0
package.json Ver fichero

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