Javascript - (Shrinkwrap|lock) file

About

Depending on your package manager, the shrinkwrap file may be called:

  • shrinkwrap.yaml,
  • npm-shrinkwrap.json,
  • package-lock.json,
  • or yarn.lock.

Some package managers use the term “lock file”, although it has nothing to do with file locking.

Every package manager creates a shrinkwrap file in each project folder.

This file should be committed to Git.

Documentation / Reference





Discover More
Javascript Package - Package Manager

This article talks package manager in Javascript. They are the first component of the web toolchain as they permit to: declare package as dependency download and update package create a package...



Share this page:
Follow us:
Task Runner