Skip to content

Commit

Permalink
mark peerDeps as optional
Browse files Browse the repository at this point in the history
Because you only need one of these, not both, and we don't want warnings for the other one.
  • Loading branch information
ef4 committed Jan 15, 2022
1 parent c5bd484 commit 648fff3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,14 @@
"moment": "^2",
"moment-timezone": "^0.5.34"
},
"peerDependenciesMeta": {
"moment": {
"optional": true
},
"moment-timezone": {
"optional": true
}
},
"engines": {
"node": ">= 12"
},
Expand Down

0 comments on commit 648fff3

Please sign in to comment.