File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ One of the ways you can compile [CSS Modules](https://github.com/css-modules/css
88## Install
99
1010``` bash
11- $ npm i css-modules-require-hook
11+ $ npm i sullenor/ css-modules-require-hook
1212```
1313
1414## Usage
Original file line number Diff line number Diff line change 44 "description" : " A require hook to compile CSS Modules on the fly" ,
55 "main" : " index.js" ,
66 "dependencies" : {
7- "css-modules-loader-core " : " 0.0.11 " ,
7+ "babel " : " ^5.6.14 " ,
88 "object-assign" : " ^3.0.0"
99 },
1010 "devDependencies" : {
1111 "mocha" : " ^2.2.5"
1212 },
1313 "scripts" : {
14+ "clone" : " git clone https://github.com/sullenor/css-modules-loader-core.git node_modules/css-modules-loader-core" ,
15+ "deps" : " cd node_modules/css-modules-loader-core && npm i" ,
16+ "postinstall" : " npm run clone && npm run deps" ,
17+ "preinstall" : " rm -rf node_modules/css-modules-loader-core" ,
1418 "test" : " mocha test"
1519 },
1620 "repository" : {
You can’t perform that action at this time.
0 commit comments