@pab78430/husky
Prevents bad commit or push (git hooks, pre-commit/precommit, pre-push/prepush, post-merge/postmerge and all that stuff...)
Last updated 10 months ago by pab78430 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @pab78430/husky 
SYNC missed versions from official npm registry.

Husky

Git hooks made easy

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

Install

npm install @pab78430/husky --save-dev

Create hooks in folder ./hooks

To go further, see the docs here.

Note: there's a known issue with Node v12.0, please use v12.1 or higher.

Uninstall

npm uninstall husky

Git hooks installed by husky will be removed.

Features

  • Keeps existing user hooks
  • Supports GUI Git clients
  • Supports all Git hooks (pre-commit, pre-push, ...)

See also

  • pkg-ok - Prevents publishing a module with bad paths or incorrect line endings
  • please-upgrade-node - Show a message to upgrade Node instead of a stacktrace in your CLIs
  • pinst - dev only postinstall hook

Current Tags

  • 3.0.5                                ...           latest (10 months ago)

5 Versions

  • 3.0.5                                ...           10 months ago
  • 3.0.4                                ...           10 months ago
  • 3.0.3                                ...           10 months ago
  • 3.0.2                                ...           10 months ago
  • 3.0.1                                ...           10 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (11)
Dev Dependencies (22)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |