Skip to content

Instantly share code, notes, and snippets.

@tiandiduwuxiaoxiao
Last active January 18, 2018 07:03
Show Gist options
  • Save tiandiduwuxiaoxiao/26d3d8c1d1f332e9ae3d7796a33f09c4 to your computer and use it in GitHub Desktop.
Save tiandiduwuxiaoxiao/26d3d8c1d1f332e9ae3d7796a33f09c4 to your computer and use it in GitHub Desktop.
npm directive collection

some npm directive

  1. To update all package in package.json with below command:
npm install -g npm-check-updates

or

npm install npm-check-updates
  • Then,check the change list with below command:
ncu -u
  1. uninstall certain package with below command:
npm uninstall bootstrap --save
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment