generator-angular-boilerplate
Usage
Create your project
Install the required tools: yo
, gulp
, bower
npm install -g yo gulp bower
Install generator-angular-boilerplate
:
npm install -g generator-angular-boilerplate
Make a new directory, and cd
into it:
mkdir angular-boilerplate && cd $_
Run yo angular-boilerplate
, optionally passing an app name:
yo angular-boilerplate [app-name]
Use Gulp tasks
gulp
orgulp build
to build an optimized version of your application in/dist
gulp serve
to launch a browser sync server on your source filesgulp serve:dist
to launch a server on your optimized applicationgulp test
to launch your unit tests with Karmagulp test:auto
to launch your unit tests with Karma in watch modegulp protractor
to launch your e2e tests with Protractorgulp protractor:dist
to launch your e2e tests with Protractor on the dist files
Contributing
License
MIT