0.1.1 • Published 9 years ago

kail v0.1.1

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

NPM Version Build Status Coverage Status Dependency Status Licence

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'
  }
}