Skip to content

Commit

Permalink
Adding peerDependenciesMeta information to make react-native-svg opti…
Browse files Browse the repository at this point in the history
…onal and avoid the warnings on web projects (#47)
  • Loading branch information
fabiomcosta authored and 3rd-Eden committed Jan 15, 2020
1 parent 047c1cd commit 590f14c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@
"react": "*",
"react-native-svg": "*"
},
"peerDependenciesMeta": {
"react-native-svg": {
"optional": true
}
},
"devDependencies": {
"@babel/cli": "^7.1.2",
"@babel/core": "^7.1.2",
Expand Down Expand Up @@ -79,6 +84,8 @@
]
},
"nyc": {
"exclude": ["index.d.ts"]
"exclude": [
"index.d.ts"
]
}
}

0 comments on commit 590f14c

Please sign in to comment.