浏览代码

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

Max Maes 6 年前
父节点
当前提交
c18fbd1bf1
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3
    3
      package.json

+ 3
- 3
package.json 查看文件

29
   "homepage": "https://github.com/iou90/react-native-autoheight-webview#readme",
29
   "homepage": "https://github.com/iou90/react-native-autoheight-webview#readme",
30
   "peerDependencies": {
30
   "peerDependencies": {
31
     "react": "*",
31
     "react": "*",
32
-    "react-native": ">= 0.57.0"
32
+    "react-native": ">= 0.57.0",
33
+    "react-native-webview": "^5.0.7"
33
   },
34
   },
34
   "dependencies": {
35
   "dependencies": {
35
     "immutable": "^3.8.2",
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
   "devDependencies": {
39
   "devDependencies": {
40
     "babel-eslint": "^8.2.6",
40
     "babel-eslint": "^8.2.6",