Scaffolding Angular Apps
Scaffold
Develop
Test
Publish
Lint
Configure
$ npm i -g @angular/cli$ ng new myappCreates a new folder with ready to develop Angular appĀ
$ ng g <blueprint> <options>Generates Angular components, services etc.
$ ng servePops up a development environment with webpack
$ ng lintLints the entire application and displays the result on the command line
$ ng set <key> <value>Set the value against the key in the Angular CLI config
$ ng get <key> <value>Get the value against the key in the Angular CLI config
$ ng ejectPulls out the webpack configuration for your app
$ ng e2e <options>Starts a protractor environment with selenium webdriver for e2e testing
$ ng testStarts a karma server for unit testing
$ ng buildPackages the app into a distributable bundle
$ ng help <command>The ultimate help on the CLI
$ ng versionDisplays the version of @angular libs
$ ng completionCreate completion scripts for bash/zsh
2 days of Angular 2 Awesomeness
Walk in as a noob, walk out as an Angular Pro
Next batch: 5th, 6th May, 2017