File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 77 "tester" : " mocha --reporter=spec ./test/**/*.test.js" ,
88 "coverage" : " istanbul cover _mocha ./test/**/*.test.js" ,
99 "lint" : " standard './test/**/*.js' './lib/**/*.js' --verbose | snazzy" ,
10- "semantic-release" : " semantic-release pre && npm publish && semantic-release post"
10+ "semantic-release" : " semantic-release pre && npm publish && semantic-release post" ,
11+ "precommit" : " lint-staged"
12+ },
13+ "lint-staged" : {
14+ "*.js" : [
15+ " npm run prettier-standard-formatter" ,
16+ " git add"
17+ ]
1118 },
1219 "repository" : {
1320 "type" : " git" ,
3037 "body-parser" : " ^1.17.0" ,
3138 "debug" : " ^2.4.0" ,
3239 "http-status-codes" : " ^1.0.5" ,
40+ "husky" : " ^0.13.4" ,
3341 "inflection" : " ^1.7.2" ,
42+ "lint-staged" : " ^3.6.1" ,
3443 "lodash" : " ^4.17.1" ,
44+ "prettier-standard-formatter" : " ^0.222222222222222.333333333333333" ,
3545 "snazzy" : " ^7.0.0" ,
3646 "type-is" : " ^1.6.14"
3747 },
You can’t perform that action at this time.
0 commit comments