4.0.1 • Published 2 years ago

husky4th v4.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

husky4th

Git hooks made easy

Husky can prevent bad git commit, git push and more 🐶 woof!

Not all huskies are suitable for house-sitting. I think the #4 is better than #5-8.

npm.io

Install

This will install husky v4.

npm i -D husky4th
// package.json
{
  "husky": {
    "hooks": {
      "pre-commit": "npm test",
      "pre-push": "npm test",
      "...": "..."
    }
  }
}
git commit -m 'Keep calm and commit'

Existing hooks are kept. Requires Node >= 10 and Git >= 2.13.0.

Uninstall

npm uninstall husky4th

Git hooks installed by husky will be removed.