I have a project with a package.json to load all the dev dependencies. Is there a way to install git commit hooks when after installing the project with npm install?
I have a project with a package.json to load all the dev dependencies. Is
Share
Considering the npm project,
npm installitself will only install/clone the git repos, but also interpret the script section.You could declare a script in the
installorpostinstallstep which would add your hooks in the cloned repos.