mirror of
https://github.com/log4js-node/log4js-node.git
synced 2025-12-08 19:26:01 +00:00
chore: change for updated husky
This commit is contained in:
parent
0410f786a6
commit
a406ed80aa
@ -29,8 +29,6 @@
|
||||
},
|
||||
"scripts": {
|
||||
"clean": "find test -type f ! -name '*.json' ! -name '*.js' ! -name '.eslintrc' -delete && rm *.log",
|
||||
"prepush": "npm test && npm run typings",
|
||||
"commitmsg": "validate-commit-msg",
|
||||
"posttest": "npm run clean",
|
||||
"pretest": "eslint 'lib/**/*.js' 'test/**/*.js'",
|
||||
"test": "tap 'test/tap/**/*.js' --cov",
|
||||
@ -95,5 +93,11 @@
|
||||
"require": [
|
||||
"./test/sandbox-coverage"
|
||||
]
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"commit-msg": "validate-commit-msg",
|
||||
"pre-push": "npm test && npm run typings"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user