To update one dependency to its lastest version without having to manually open the package.json and change it, you can run
npm install {package-name}@* {save flags?}
i.e.
npm install express@* --save
For reference, npm-install
To update one dependency to its lastest version without having to manually open the package.json and change it, you can run
npm install {package-name}@* {save flags?}
i.e.
npm install express@* --save
For reference, npm-install