Add -loader packages as deps

Even though we don't use webpack directly, webpack needs the loaders
to be in the dependency package's node_modules directory, so this
lets packages that depend on us use webpack.
This commit is contained in:
David Baker 2015-09-25 13:39:21 +01:00
parent 5af43dc6a9
commit d172aaf41f

View file

@ -30,8 +30,11 @@
"react": "^0.13.3", "react": "^0.13.3",
"react-loader": "^1.4.0" "react-loader": "^1.4.0"
}, },
"//deps": "The loader packages are here because webpack in a project that depends on us needs them in this package's node_modules folder",
"devDependencies": { "devDependencies": {
"babel": "^5.8.23", "babel": "^5.8.23",
"rimraf": "^2.4.3" "rimraf": "^2.4.3",
"json-loader": "^0.5.3",
"source-map-loader": "^0.1.5"
} }
} }