Skip to content

Commit fbb07d4

Browse files
committed
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.
1 parent 48eed00 commit fbb07d4

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

package.json

+5-3
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,12 @@
3939
"uglify-js": "2.4.15",
4040
"webpack-dev-server": "1.6.5"
4141
},
42-
"peerDependencies": {
43-
"react": ">=0.12.0",
42+
"dependencies": {
4443
"classnames": "^1.2.0"
4544
},
45+
"peerDependencies": {
46+
"react": ">=0.12.0"
47+
},
4648
"tags": [
4749
"react",
4850
"modal",
@@ -57,4 +59,4 @@
5759
"browserify-shim": {
5860
"react": "global:React"
5961
}
60-
}
62+
}

0 commit comments

Comments
 (0)