Closed
Description
Current Behavior:
npm i --save-dev husky
doesn't run the install and postinstall scripts after installing the package so the git hooks are never setup. No error is thrown. I haven't checked to see if this is unique to the husky
package or not.
Expected Behavior:
For the install and postinstall scripts to run after the package is installed and the git hooks to be set up.
Steps To Reproduce:
npm i --save-dev husky
Then check to see if the git hooks have been added to .git/hooks/pre-commit
(compare this to installing using npm v6)
Environment:
- OS: MacOS 10.15.6
- Node: 12.18.3
- npm: v7.0.0-beta.11