Skip to content

Instantly share code, notes, and snippets.

@cyberfly
Last active April 18, 2017 04:44
Show Gist options
  • Save cyberfly/5f1f95981bfc11a7bcb5343ed03ccfff to your computer and use it in GitHub Desktop.
Save cyberfly/5f1f95981bfc11a7bcb5343ed03ccfff to your computer and use it in GitHub Desktop.
NPM, Bower and Grunt Command when working with AngularJS project
//things to do after clone angular project
npm install
bower install
grunt wiredep
grunt server
//check version of all installed bower packages
bower list --json=0 --offline
//update angular version using bower
bower install angular#latest
//update angular-ui router using bower
bower install angular-ui-router#0.4.2
//npm update angular-ui router
npm update angular-ui-router
//server angularjs site with live reload
grunt wiredep
grunt server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment