From 73b5bb224c6533c057beb5d67c7c22896ce043c6 Mon Sep 17 00:00:00 2001 From: Martin Bielik Date: Tue, 18 Apr 2017 09:32:16 +0200 Subject: [PATCH] react as peer dependency --- examples/package.json | 4 ++-- package.json | 8 +++++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/examples/package.json b/examples/package.json index 7385b5f..2806097 100644 --- a/examples/package.json +++ b/examples/package.json @@ -6,8 +6,8 @@ "react-scripts": "0.2.1" }, "dependencies": { - "react": "^15.2.1", - "react-dom": "^15.2.1", + "react": "^15.5.0", + "react-dom": "^15.5.0", "react-ga": "^2.1.2", "react-highlight": "^0.8.0", "react-tagcloud": "file:../", diff --git a/package.json b/package.json index 4d40cf9..0103aea 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,9 @@ "prop-types": "^15.5.8", "randomcolor": "^0.4.2" }, + "peerDependencies": { + "react": "^15.5.0" + }, "devDependencies": { "babel-cli": "^6.18.0", "babel-core": "^6.8.0", @@ -45,9 +48,8 @@ "eslint": "^3.2.2", "eslint-plugin-react": "^6.0.0", "jest-cli": "^17.0.0", - "react": "^15.0.2", - "react-addons-test-utils": "^15.0.2", - "react-dom": "^15.0.2", + "react": "^15.5.0", + "react-dom": "^15.5.0", "webpack": "^1.13.3" } }