HomeBlogSnippets

node

Posts

Installing Production-Only Dependencies with Dev Dependency Hooks in Node.js

There might be situations where you want to install production dependencies only but you have npm scripts using a dev dependency command. For example it can be the case if you use the `husky` package. In this blog post, we'll look how to install production-only dependencies with hooks using dev dependency.


Home
TwitterGitHubLinkedinMastodon
Uses