Git Product home page Git Product logo

husky's Introduction

husky

Open Collective Node.js CI

Modern native Git hooks made easy

Husky improves your commits and more ๐Ÿถ woof!

Install

npm install husky -D

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 every time you commit

For more use cases (project in sub-directory, custom directory, CI support, ...), see documentation.

Documentation

https://typicode.github.io/husky

Important Upgrading from v4 to v7 requires migrating previous config, please see the docs.

Articles

License

MIT

Sponsors

Companies

Does your company use husky? Ask your manager or marketing team if your company would be interested in supporting this project.

Individuals

Find husky helpful? Become a backer and show your appreciation with a monthly donation on Open Collective. You can also tip with a one-time donation.

Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor Husky Sponsor

GitHub sponsors can be viewed on my profile. All past and current Open Collective sponsors can be viewed on here.

husky's People

Contributors

afc163 avatar amilajack avatar arcanis avatar azu avatar boxfoot avatar branneman avatar dependabot[bot] avatar fearphage avatar hunnble avatar jetersen avatar klmdb avatar luiscoms avatar meetmangukiya avatar merceyz avatar nbelakovski avatar nihaals avatar nilswindisch avatar noamokman avatar oebrab avatar onbjerg avatar ozzywalsh avatar piperchester avatar pombam avatar rainboxx avatar spoike avatar typicode avatar yanamura avatar ybiquitous avatar yurasid avatar zhangciwu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.