Skip to content

Instantly share code, notes, and snippets.

@halhenke
Last active January 13, 2016 18:19
Show Gist options
  • Save halhenke/5ff7dd22d02f689ecb6e to your computer and use it in GitHub Desktop.
Save halhenke/5ff7dd22d02f689ecb6e to your computer and use it in GitHub Desktop.
Run npm shrinkwrap automatically after an install via npm script
"scripts": {
"goodInstall": "npm install",
"postgoodInstall": "npm shrinkwrap --dev",
}
// Install a devDependency with `npm run goodInstall -- -D react-animate`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment