Skip to content

Instantly share code, notes, and snippets.

@heobay
Last active January 3, 2016 07:39
Show Gist options
  • Select an option

  • Save heobay/8431251 to your computer and use it in GitHub Desktop.

Select an option

Save heobay/8431251 to your computer and use it in GitHub Desktop.
Yoman commands
npm install -g yo
npm install -g grunt-cli
npm install -g generator-webapp
npm install -g generator-angular
### Scaffolding an AngularJS app
yo angular
yo angular:controller myController
yo angular:directive myDirective
yo angular:filter myFilter
yo angular:service myService
sudo npm install grunt-karma --save-dev
sudo npm install
# Search for a dependency in the Bower registry.
bower search <dep>
# Install one or more dependencies.
bower install <dep>..<depN>
# List out the dependencies you have installed for a project.
bower list
# Update a dependency to the latest version available.
bower update <dep>
# Preview an app you have generated (with Livereload).
grunt server
# Run the unit tests for an app.
grunt test
# Build an optimized, production-ready version of your app.
grunt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment