DEV Community

Discussion on: When not to use package-lock.json

Collapse
 
robogeek profile image
David Herron

The state of dependencies should be described in package.json. That's what the dependencies field is for. Package-lock.json is unnecessary.

Collapse
 
evolutionxbox profile image
Jonathan Cousins • Edited

Not that this is common, but what about the dependencies that your dependencies rely on? What if they change?