Coder Social home page Coder Social logo

moteesh-in2tive / husky Goto Github PK

View Code? Open in Web Editor NEW

This project forked from typicode/husky

0.0 1.0 0.0 3.1 MB

Git hooks made easy ๐Ÿถ woof!

Home Page: https://typicode.github.io/husky

License: MIT License

JavaScript 98.12% Shell 1.88%

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.

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

husky's People

Contributors

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

Watchers

 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.