Monday, 5 June 2017

Update shrinkwrap.json after dependency is moved to devDependencies

By mistake i did npm i --save xxx and my shrinkwrap.json was (correctly) written.

As i wanted actually to did --saveDev i started to explore solutions

Now my first idea was to do npm uninstall --save xxx but to my surprise library was removed from package.json but shrinkwrap.json was not written

Is there a way to revert this ?

thx



via Ziker

No comments:

Post a Comment