kail

0.1.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i kail

Weekly Downloads

1

Version

0.1.1

License

MIT

Last publish

Collaborators

  • simon.degraeve