husky4th

4.0.1 • Public • Published

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.

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.

Package Sidebar

Install

npm i husky4th

Weekly Downloads

1

Version

4.0.1

License

MIT

Unpacked Size

3.44 kB

Total Files

4

Last publish

Collaborators

  • colder