File tree 2 files changed +6
-2
lines changed 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
8
8
## Install
9
9
10
10
``` bash
11
- $ npm i css-modules-require-hook
11
+ $ npm i sullenor/ css-modules-require-hook
12
12
```
13
13
14
14
## Usage
Original file line number Diff line number Diff line change 4
4
"description" : " A require hook to compile CSS Modules on the fly" ,
5
5
"main" : " index.js" ,
6
6
"dependencies" : {
7
- "css-modules-loader-core " : " 0.0.11 " ,
7
+ "babel " : " ^5.6.14 " ,
8
8
"object-assign" : " ^3.0.0"
9
9
},
10
10
"devDependencies" : {
11
11
"mocha" : " ^2.2.5"
12
12
},
13
13
"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" ,
14
18
"test" : " mocha test"
15
19
},
16
20
"repository" : {
You can’t perform that action at this time.
0 commit comments