From 0d506f7530e62881ec315434ae029c47f0b09d2e Mon Sep 17 00:00:00 2001 From: Anthony Cyrille Date: Tue, 26 Feb 2019 17:35:47 +0100 Subject: [PATCH] added react and react-native as peer dependencies --- .gitignore | 1 + package.json | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index d435d79..b66b47f 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ # Dependency directory # https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git node_modules +.idea diff --git a/package.json b/package.json index 239f735..5a3e44e 100644 --- a/package.json +++ b/package.json @@ -65,5 +65,9 @@ }, "dependencies": { "prop-types": "^15.5.10" + }, + "peerDependencies": { + "react": "*", + "react-native": "*" } }