2.2.3 • Published 2 years ago
git-bubu-check v2.2.3
git-bubu-check
Install
npm install husky --save-dev
npm install git-bubu-check --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/commit-msg "npx git-bubu-check"
Make a commit:
git add .
git commit -m "Keep calm and commit"
# `npm run git-bubu-check` will run