Skip to content

Commit f1012f1

Browse files
committed
chore: mark webview, and web-webview as optional peer-dependencies
this will avoid auto-installation of dependencies that are not required
1 parent 83d8282 commit f1012f1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@
4040
"react-native-web-webview": ">=1.0.2",
4141
"react-native-webview": ">=7.0.0"
4242
},
43+
"peerDependenciesMeta": {
44+
"react-native-web-webview": {
45+
"optional": true
46+
},
47+
"react-native-webview": {
48+
"optional": true
49+
}
50+
},
4351
"devDependencies": {
4452
"@babel/cli": "^7.2.3",
4553
"@babel/core": "^7.2.2",

0 commit comments

Comments
 (0)