generator-angular-boilerplate

Angular-boilerplate generator to help you getting started with a new project based on Angular Boilerplate

Usage no npm install needed!

<script type="module">
  import generatorAngularBoilerplate from 'https://cdn.skypack.dev/generator-angular-boilerplate';
</script>

README

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 or gulp build to build an optimized version of your application in /dist
  • gulp serve to launch a browser sync server on your source files
  • gulp serve:dist to launch a server on your optimized application
  • gulp test to launch your unit tests with Karma
  • gulp test:auto to launch your unit tests with Karma in watch mode
  • gulp protractor to launch your e2e tests with Protractor
  • gulp protractor:dist to launch your e2e tests with Protractor on the dist files

Contributing

Guidelines

License

MIT