Prune any past devDependencies, if present in cache

If the --production flag is specified, this command will remove the packages specified in your devDependencies.

https://www.npmjs.org/doc/cli/npm-prune.html