Last active
January 3, 2016 07:39
-
-
Save heobay/8431251 to your computer and use it in GitHub Desktop.
Yoman commands
This file contains hidden or 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
| 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