githook-scripts

easily run npm scripts in the git lifecycle


Keywords
git, hooks, npm, scripts
License
MIT
Install
npm install githook-scripts@1.1.0

Documentation

githook-scripts

Use package.json scripts for git hooks

Example

{
  "name": "your-package",
  "scripts": {
    "test": "mocha",
    "githook:pre-commit": "npm run test"
  },
  "devDependencies": {
    "githook-scripts": "latest"
  }
}