Kaynağa Gözat

Moved react-native-webview dependency to peerDependencies to avoid double registration of the component

Max Maes 6 yıl önce
ebeveyn
işleme
c18fbd1bf1
1 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. 3
    3
      package.json

+ 3
- 3
package.json Dosyayı Görüntüle

@@ -29,12 +29,12 @@
29 29
   "homepage": "https://github.com/iou90/react-native-autoheight-webview#readme",
30 30
   "peerDependencies": {
31 31
     "react": "*",
32
-    "react-native": ">= 0.57.0"
32
+    "react-native": ">= 0.57.0",
33
+    "react-native-webview": "^5.0.7"
33 34
   },
34 35
   "dependencies": {
35 36
     "immutable": "^3.8.2",
36
-    "prop-types": "^15.7.1",
37
-    "react-native-webview": "^5.0.7"
37
+    "prop-types": "^15.7.1"
38 38
   },
39 39
   "devDependencies": {
40 40
     "babel-eslint": "^8.2.6",