Can we suppress the npm run output ?
Raynos opened this issue · 3 comments
Raynos commented
Some IDEs that do commits will break if git commit outputs random NPM related output.
We could fix this in IDEs but its simpler to fix here.
3rd-Eden commented
@Raynos Do you want to suppress the full output and just have it return an exit code instead? I could implement an:
{
"pre-commit-silence": true
}
option in the package.json
Raynos commented
i'd be nice to suppress stdout & stderr if exit code is 0 and only suppress stdout if exit code is 1.
I think printing to stderr if the pre-commit hook fails is fair game.
3rd-Eden commented
Closing this as it's now possible to silence the output