typicode / husky-init

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Important

Use the new husky init command. More info at https://typicode.github.io/husky/

husky-init

Install and setup husky quickly

See also

auto-husky - interactive mode and more options

Usage

npx husky-init && npm install  # npm
npx husky-init && yarn         # Yarn 1
npx husky-init --yarn2 && yarn # Yarn 2+

If package.json is in a subdirectory (e.g. not in the same directory as .git), please see https://typicode.github.io/husky/#/?id=custom-directory or use auto-husky.

Documentation

https://typicode.github.io/husky

About

License:MIT License


Languages

Language:JavaScript 98.2%Language:Shell 1.8%