Skip to content

The importance of the package-lock.json file

You probably have seen this file before while working with projects that use Node package manager (NPM).

To be honest, I didn’t pay enough attention to this file before. I knew it was automatically generated and modified when installing dependencies using npm install and I used to delete it and reinstall all dependencies when I had conflicts running my project.