Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

npm package-lock.json

The package-lock.json is a new file introduces in npm v 5.*. The goal of introducing this new file is to resolve issue due to installing different versions of packages.

In the previous post we saw about the semantic Versioning for npm and the various wild cards associated with this versioning. We saw that the package.json by default uses the carot (^) wildcard for package versioning, this allows for auto upgrade of the minor and patch versions.

Let us say we have the following entry in our package.json file for react
"react": "^16.8.3"


This post first appeared on C# Guide, please read the originial post: here

Share the post

npm package-lock.json

×

Subscribe to C# Guide

Get updates delivered right to your inbox!

Thank you for your subscription

×