githook-scripts

v1.1.0
easily run npm scripts in the git lifecycle
git hooks npm scripts

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"
  }
}
npm i githook-scripts

Metadata

  • MIT
  • Whatever
  • PixnBits
  • released 5/22/2019

Downloads

Maintainers