DEV Community

Discussion on: What are some useful npm packages I might not know about?

Collapse
 
nickytonline profile image
Nick Taylor

You can run anything. lint-staged compliments this package very well. Here's an example, github.com/nickytonline/generator-...

Thread Thread
 
nickytonline profile image
Nick Taylor • Edited

Only one gotcha. If you've already installed the husky package at least once, you will need to run yarn --force or npm install --no-cache. For some reason the post-install script of husky does not run, when the package is pulled from yarn's or npm's cache.