From 1a68fcebe2f3907895c22b46c4ad52692483aa77 Mon Sep 17 00:00:00 2001 From: Nathan Hutchision Date: Thu, 8 Jan 2015 20:00:45 +1100 Subject: [PATCH 1/2] make react-tools a peer dependency this will save some time bumping versions every time a new version of react is released, fixes #29 --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 3fbe35f..c848bc6 100644 --- a/package.json +++ b/package.json @@ -4,9 +4,11 @@ "description": "JSX loader for webpack", "main": "index.js", "dependencies": { - "react-tools": ">=0.12.1", "loader-utils": "^0.2.2" }, + "peerDependencies": { + "react-tools": ">= 0.12.1 < 2" + }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, From 57f253706b8186bac710f71f99a281409870bb96 Mon Sep 17 00:00:00 2001 From: Nathan Hutchision Date: Thu, 8 Jan 2015 20:45:34 +1100 Subject: [PATCH 2/2] move react-tools to peerDependencies --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c848bc6..2ecfb94 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "loader-utils": "^0.2.2" }, "peerDependencies": { - "react-tools": ">= 0.12.1 < 2" + "react-tools": ">= 0.12.1 < 1" }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1"