Skip to content

Commit 0ad60d9

Browse files
committed
Adds react-dom and react-native as optional peer dependencies
1 parent 2297944 commit 0ad60d9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

package.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,17 @@
3737
},
3838
"peerDependencies": {
3939
"react": "^16.8.3",
40+
"react-dom": "^16.8.3",
4041
"redux": "^2.0.0 || ^3.0.0 || ^4.0.0-0"
4142
},
43+
"peerDependenciesMeta": {
44+
"react-dom": {
45+
"optional": true
46+
},
47+
"react-native": {
48+
"optional": true
49+
}
50+
},
4251
"dependencies": {
4352
"@babel/runtime": "^7.5.5",
4453
"hoist-non-react-statics": "^3.3.0",

0 commit comments

Comments
 (0)