npm update a dev dependency code example
Example: how to update dev dependencies npm
npm update --save-dev
// Alternatively, the same command to save time
npm update -D
npm update --save-dev
// Alternatively, the same command to save time
npm update -D