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
2626# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
2727node_modules
2828
29+ # added automatically by precommit-hook as defaults
30+ .jshint *
31+
2932dist /
Original file line number Diff line number Diff line change 1818 "eslint-config-airbnb-lite" : " ^1.0.3" ,
1919 "eslint-watch" : " ^1.2.4" ,
2020 "in-publish" : " ^2.0.0" ,
21- "mocha" : " ^2.2.5"
21+ "mocha" : " ^2.2.5" ,
22+ "precommit-hook" : " ^3.0.0"
2223 },
2324 "scripts" : {
2425 "start" : " esw -w ." ,
4546 "bugs" : {
4647 "url" : " https://github.com/sullenor/css-modules-require-hook/issues"
4748 },
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+ ]
4954}
You can’t perform that action at this time.
0 commit comments