Просмотр исходного кода

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

Rich 6 лет назад
Родитель
Сommit
fb694c0b80
1 измененных файлов: 4 добавлений и 0 удалений
  1. 4
    0
      package.json

+ 4
- 0
package.json Просмотреть файл

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