From 7d861327482a1a0363186b18c4f2833520faa2dc Mon Sep 17 00:00:00 2001 From: Kacper Wiszczuk Date: Thu, 25 Jul 2019 11:08:18 +0200 Subject: [PATCH] fix: move react and react-native to peer deps (#23) * fix: move react and react-native to peer deps * Make peerDeps permissive --- package.json | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 664fe56..e844418 100644 --- a/package.json +++ b/package.json @@ -24,9 +24,11 @@ "dependencies": { "art": "^0.10.3", "invariant": "^2.2.4", - "prop-types": "^15.7.2", - "react": "16.8.3", - "react-native": "0.59.9" + "prop-types": "^15.7.2" + }, + "peerDependencies": { + "react": "^16.8.3", + "react-native": "^0.59.9" }, "devDependencies": { "@babel/core": "^7.4.5", @@ -35,6 +37,8 @@ "eslint": "^5.16.0", "flow-bin": "^0.92.0", "jest": "^24.8.0", - "metro-react-native-babel-preset": "^0.54.1" + "metro-react-native-babel-preset": "^0.54.1", + "react": "16.8.3", + "react-native": "0.59.9" } }