DEV Community

Discussion on: 5 Tips for better NPM script organization

Collapse
marcel_cremer profile image
Marcel Cremer Author

TBH, I personally don't use them. Most of the time when I remember that they exist and I "refactor" my scripts into using hooks, the package.json feels bloated afterwards (especially if the hooks just call other npm scripts).

If I see them in other projects, I sometimes like how they're used though.

Maybe you can give some pro / cons, why to use them?