From cef4495d41a8a4e776ba3dc7811b9db44017d137 Mon Sep 17 00:00:00 2001 From: Liam Horne Date: Fri, 6 Mar 2015 19:54:29 -0500 Subject: [PATCH] Move React to peerDependencies Using this package and `react` with `npm` causes both scripts to be loaded twice. Peer dependencies is meant to fix this. See http://blog.nodejs.org/2013/02/07/peer-dependencies/ --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4c1bc84..baca40a 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "vinyl-source-stream": "^0.1.1", "watchify": "^2.1.1" }, - "dependencies": { + "peerDependencies": { "react": "^0.12.2" } }