Everything You Wanted To Know About package-lock.json But Were Too Afraid To Ask
You can also read this story on my personal Gatsby blog.
Introduction
So you’ve updated Node Package Manager (npm) to v5.x.x, and everything seems to be going fine. But wait, what’s this? A new file was created automatically. Package-lock.json. If you open it, it looks sort of like the dependencies in package.json, but more verbose. You decide to ignore it and go along your way developing your project. Eventually, you run into problems with a dependency. It…