From fbb07d4119b82d4ca2f20fbad341e83117101486 Mon Sep 17 00:00:00 2001 From: Clay Diffrient Date: Sun, 7 Jun 2015 08:56:53 -0600 Subject: [PATCH] Moves classnames to dependencies This makes it a bit more compatible with the way peerDependencies will work in `npm@3` later down the line. It also makes it so that consumers of the lib can have another version of classnames at the app level while not requiring this particular lib to require a version bump. Plus, this lib sorta depends on it and should it need to be locked down to a particular version, this lib should manage that rather than expect it to happen at the app level. --- package.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 7cc201c1..5afccdc5 100644 --- a/package.json +++ b/package.json @@ -39,10 +39,12 @@ "uglify-js": "2.4.15", "webpack-dev-server": "1.6.5" }, - "peerDependencies": { - "react": ">=0.12.0", + "dependencies": { "classnames": "^1.2.0" }, + "peerDependencies": { + "react": ">=0.12.0" + }, "tags": [ "react", "modal", @@ -57,4 +59,4 @@ "browserify-shim": { "react": "global:React" } -} \ No newline at end of file +}