Question: how to do npm clean install?
Answer: "build": "npm build", "clean": "rm -rf node_modules", "reinstall": "npm run clean && npm install", "rebuild": "npm run clean && npm install && npm run build", Seems to work well. You can take advantage of the 'npm cache' command which downloads the package tarball and unpacks it into the npm cache directory.