Last active
May 13, 2020 18:28
-
-
Save isaax2/c0ab5e0c604244f30c29e479c529c729 to your computer and use it in GitHub Desktop.
npm cheat sheet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
#List dependencies | |
npm list --depth=0 | |
#List outdated dependencies | |
npm outdated | |
#Update dependencies | |
npm update | |
#Install ncu | |
npm install -g npm-check-updates | |
#Update Angular | |
ng update @angular/cli @angular/core | |
#Update Angular in Ionic | |
npm install @ionic/angular@latest --save |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment