2

Previously we had old version of npm and I used npm-shrinkwrap.json file to lock down the dependencies. Now we upgarded to npm 6 and I want to use package-lock.json instead of old npm-shrinkwrap.json .

So how can I create a package-lock.json now?

  • Is there any tool available for converting npm-shrinkwrap.json to package-lock.json?
  • I've found the a thread which is suggesting to rename npm-shrinkwrap.json to package-lock.json.
  • Is it okay to do that? because I'm not sure about the underlying logic for npm shrinkwrap and new npm install
Gangadhar Jannu
  • 4,136
  • 6
  • 29
  • 49

0 Answers0