Skip to content
🐶 Git hooks made easy
Branch: master
Clone or download
#3 Compare This branch is 13 commits ahead, 302 commits behind typicode:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
src fix: should not install in sub directory Aug 9, 2018
.travis.yml Add sendemail-validate githook (typicode#173) Aug 30, 2017
LICENSE First commit Jun 23, 2014
appveyor.yml 0.14 (typicode#142) Jun 22, 2017
package-lock.json 2.0.0 Aug 9, 2018


Git hooks made easy

This is a fork of husky with a few changes:

  • Prioritizes package.json located next to .git directory, instead of hard-coded upward search. This avoids the problem when a root package in a lerna monorepo and a sub package both depends on husky, it gets confused and double-updates the root git hooks with wrong paths.

  • Changed where hooks are read from in package.json:


      "scripts": {
        "precommit": "foo"


      "gitHooks": {
        "pre-commit": "foo"
You can’t perform that action at this time.