Skip to content

Commit

Permalink
break(package.json): Replace optionalDependencies with peerDependenci…
Browse files Browse the repository at this point in the history
…esMeta
  • Loading branch information
fdrault committed Feb 27, 2023
1 parent 8762e6a commit 31c18d0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,13 @@
"react-native"
],
"peerDependencies": {
"react": "*"
"react": ">=16",
"react-native": ">=0.57.0"
},
"optionalDependencies": {
"react-native": "*"
"peerDependenciesMeta": {
"react-native": {
"optional": true
}
},
"devDependencies": {
"@babel/preset-env": "^7.20.2",
Expand Down

0 comments on commit 31c18d0

Please sign in to comment.