Husky setup
Husky is a npm library to help setting git hook.
-
install
huskyin yournode_modules -
append
preparescript in your package.json// package.json { "scripts": { "prepare": "husky install" } } -
re-install your
node_modules
When your package management is Yarn 2+, please check this link