Skip to content

Commit ab2f849

Browse files
make peer deps optional
1 parent 40600ac commit ab2f849

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@
4040
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
4141
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
4242
},
43+
"peerDependenciesMeta": {
44+
"react": {
45+
"optional": true
46+
},
47+
"react-dom": {
48+
"optional": true
49+
}
50+
},
4351
"devDependencies": {
4452
"@jest/types": "^27.5.1",
4553
"@types/jest": "^27.5.1",

0 commit comments

Comments
 (0)