husky
    TypeScript icon, indicating that this package has built-in type declarations

    7.0.4 • Public • Published

    husky

    Modern native Git hooks made easy

    Husky improves your commits and more 🐶 woof!

    Install

    npm install husky --save-dev
    

    Usage

    Edit package.json > prepare script and run it once:

    npm set-script prepare "husky install"
    npm run prepare

    Add a hook:

    npx husky add .husky/pre-commit "npm test"
    git add .husky/pre-commit

    Make a commit:

    git commit -m "Keep calm and commit"
    # `npm test` will run

    Documentation

    https://typicode.github.io/husky

    Install

    npm i husky

    DownloadsWeekly Downloads

    6,103,623

    Version

    7.0.4

    License

    MIT

    Unpacked Size

    6.06 kB

    Total Files

    8

    Last publish

    Collaborators

    • typicode