HEX
Server: LiteSpeed
System: Linux CentOS-79-64-minimal 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: vishn3436 (5293)
PHP: 8.0.15
Disabled: NONE
Upload Files
File: //data/wpp-docker/node_modules/husky/README.md
# husky

[![Open Collective](https://opencollective.com/husky/all/badge.svg?label=financial+contributors)](https://opencollective.com/husky) 

> Modern native Git hooks made easy

Husky improves your commits and more 🐶 *woof!*

# Usage

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

```sh
npm set-script prepare "husky install" && npm run prepare
```

Add a hook:

```sh
npx husky add .husky/pre-commit "npm test"
```

Make a commit:

```sh
$ git commit -m "Keep calm and commit"
```

# Documentation

https://typicode.github.io/husky

__Important__ upgrading from v4 to v6 requires additional steps, please see the docs.

## License

MIT