diff --git a/package.json b/package.json index 2f5223e52..3d31adbfe 100644 --- a/package.json +++ b/package.json @@ -37,8 +37,18 @@ }, "peerDependencies": { "react": "^16.8.3", + "react-dom": "^16.8.3", + "react-native": "^0.18.0", "redux": "^2.0.0 || ^3.0.0 || ^4.0.0-0" }, + "peerDependenciesMeta": { + "react-dom": { + "optional": true + }, + "react-native": { + "optional": true + } + }, "dependencies": { "@babel/runtime": "^7.5.5", "hoist-non-react-statics": "^3.3.0",