kail
v0.1.1
Published
Git hooks runner
Downloads
2
Readme
Git hooks runner
Installation
Using npm :
npm install kail
Documentation
Add hooks
configuration to your package.json
. Every documented hooks are supported.
{
name: 'my-module',
version: '0.0.1',
// ...
hooks: {
'pre-commit': 'echo "pre-commit hook called"',
'prepare-commit-msg': 'echo "$1 will be transformed into the first argument of the hook"',
'post-commit': 'echo "./node_modules/.bin is added to PATH" && my-local-bin'
}
}