File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed 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 18
18
"eslint-config-airbnb-lite" : " ^1.0.3" ,
19
19
"eslint-watch" : " ^1.2.4" ,
20
20
"in-publish" : " ^2.0.0" ,
21
- "mocha" : " ^2.2.5"
21
+ "mocha" : " ^2.2.5" ,
22
+ "precommit-hook" : " ^3.0.0"
22
23
},
23
24
"scripts" : {
24
25
"start" : " esw -w ." ,
45
46
"bugs" : {
46
47
"url" : " https://github.com/sullenor/css-modules-require-hook/issues"
47
48
},
48
- "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
+ ]
49
54
}
You can’t perform that action at this time.
0 commit comments