Update package version and change the version in package.json

A daily short lesson.

From time to time you need to update a npm package to the latest version AND update the version number in package.json. The solution is:

npm update <PACKAGE NAME> --save

The npm updateupdates the package to the latest version and
--savesaves the new version number inpackage.json

--

--

Steffo Dimfelt

Twentyfive years of graphic design. Six years of development. A lifetime of curiosity.