Should you shrinkwrap your node_modules?
April 25, 2016
Are you trying to determine if you should be running npm shrinkwrap? Here’s two handy questions to ask yourself:
- When I deploy my code remotely, does npm install run?
- Does my team have at least one individual running npm install more than once a month? (New environment set up, fixing an environment, new dependencies being added, etc.)
If you answered yes to either of the above questions, you should probably be shrinkwrapping your dependencies.