File tree 4 files changed +30
-2
lines changed
4 files changed +30
-2
lines changed Original file line number Diff line number Diff line change
1
+ dist
2
+ coverage
3
+ node_modules
Original file line number Diff line number Diff line change
1
+ {
2
+ "extends": "eslint-config-airbnb-lite",
3
+ "env": {
4
+ "es6": true,
5
+ "mocha": true
6
+ },
7
+ "rules": {
8
+ }
9
+ }
Original file line number Diff line number Diff line change @@ -26,4 +26,7 @@ build/Release
26
26
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
27
27
node_modules
28
28
29
+ # added automatically by precommit-hook as defaults
30
+ .jshint *
31
+
29
32
dist /
Original file line number Diff line number Diff line change 11
11
},
12
12
"devDependencies" : {
13
13
"babel" : " ^5.8.20" ,
14
+ "babel-eslint" : " ^4.0.5" ,
14
15
"css-modules-loader-core" : " 0.0.12" ,
16
+ "eslint" : " ^1.0.0" ,
17
+ "eslint-config-airbnb" : " 0.0.7" ,
18
+ "eslint-config-airbnb-lite" : " ^1.0.3" ,
19
+ "eslint-watch" : " ^1.2.4" ,
15
20
"in-publish" : " ^2.0.0" ,
16
- "mocha" : " ^2.2.5"
21
+ "mocha" : " ^2.2.5" ,
22
+ "precommit-hook" : " ^3.0.0"
17
23
},
18
24
"scripts" : {
25
+ "start" : " esw -w ." ,
26
+ "lint" : " eslint ." ,
27
+ "pretest" : " npm run -s lint || true" ,
19
28
"test" : " npm run -s build && mocha --compilers js:babel/register" ,
20
29
"build" : " babel src --out-dir dist" ,
21
30
"prepublish" : " in-publish && npm run -s build || in-install"
37
46
"bugs" : {
38
47
"url" : " https://github.com/sullenor/css-modules-require-hook/issues"
39
48
},
40
- "homepage" : " https://github.com/sullenor/css-modules-require-hook"
49
+ "homepage" : " https://github.com/sullenor/css-modules-require-hook" ,
50
+ "pre-commit" : [
51
+ " lint" ,
52
+ " test"
53
+ ]
41
54
}
You can’t perform that action at this time.
0 commit comments