DEV Community

Discussion on: Automatically Install NPM Dependencies on Git Pull

Collapse
 
felipekm profile image
Kautzmann

Hi there, nice article!
Do we need to setup this husky hook into package.json?

Collapse
 
zirkelc profile image
Chris Cook

No, Husky in the latest version v7 doesn't work npm scripts anymore. Just follow these steps and it create a .husky folder in your repo. Then add a post-merge file with gist snippet above.