From 8de26934b9f7450a636e179df187ab669836ff97 Mon Sep 17 00:00:00 2001 From: Jack Reed Date: Wed, 24 Apr 2019 11:43:12 -0600 Subject: [PATCH] Move react/react-dom to dev and peer dependencies Fixes #13 --- package.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 8313f2a..a6d48c3 100644 --- a/package.json +++ b/package.json @@ -22,8 +22,6 @@ "license": "MIT", "dependencies": { "@kadira/storybook-deployer": "^1.2.0", - "react": "^15.4.2", - "react-dom": "^15.4.2", "prop-types": "^15.5.7" }, "devDependencies": { @@ -36,8 +34,14 @@ "babel-preset-es2015": "^6.24.0", "babel-preset-react": "^6.23.0", "babel-preset-stage-0": "^6.22.0", + "react": "^15.4.2", + "react-dom": "^15.4.2", "react-scripts": "0.9.5" }, + "peerDependencies": { + "react": "^15.4.2", + "react-dom": "^15.4.2" + }, "scripts": { "start": "react-scripts start", "/*--build--*/": "react-scripts build",