No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
unknown fe79185e87 ali aslani hace 1 año
..
__tests__ ali aslani hace 1 año
bin ali aslani hace 1 año
node_modules ali aslani hace 1 año
src ali aslani hace 1 año
CHANGELOG.md ali aslani hace 1 año
HOOKS.md ali aslani hace 1 año
LICENSE ali aslani hace 1 año
README.md ali aslani hace 1 año
appveyor.yml ali aslani hace 1 año
package.json ali aslani hace 1 año

README.md

yorkie

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:

    Before

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

    After

    {
      "gitHooks": {
        "pre-commit": "foo"
      }
    }