generator-avale-angular v0.1.0
generator-avale-angular

Yeoman generator for quickly scaffolding AngularJS apps, based on Swiip/generator-gulp-angular
Installation
First, install Yeoman and generator-avale-angular using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-avale-angularThen generate your new project:
yo avale-angularYo options
yo avale-angular --help or yo avale-angular -h for help. All options are not required. If not provided, default values will be used.
--app-path='src'customize Angular's app folder, relative to cwd, default issrc--dist-path='dist'customize build target folder, relative to cwd, default isdist--e2e-path='e2e'customize e2e test specs folder, relative to cwd, default ise2e--tmp-path='.tmp'customize pre-processing temp folder, relative to cwd, default is.tmp--skip-installdo not runbower installandnpm installafter generating the app, default isfalse(not skip)--skip-welcome-messageskip yo welcome messages, default isfalse(not skip)--skip-messageskip install messages, default isfalse(not skip)--defaultuse default configurations, default isfalse--advancedprompt for advanced additional features, default isfalse
Paths configuration are stored in gulpfile.js. Change options.(src|dist|tmp|e2e) in gulpfile.js if you want to config paths after the app is generated.
Warning: The paths are also written in the index.html for the build with useref. If you want to change these paths, you also have to change the paths there in order to have the build task working.
Use Gulp tasks
gulporgulp buildto build an optimized version of your application in/distgulp serveto launch a browser sync server on your source filesgulp serve:distto launch a server on your optimized applicationgulp testto launch your unit tests with Karmagulp test:autoto launch your unit tests with Karma in watch modegulp protractorto launch your e2e tests with Protractorgulp protractor:distto launch your e2e tests with Protractor on the dist filesgulp licensesto generate a licenses file containing all the licenses from the bower_components folder
More information on the gulp tasks in the generator-gulp-angular/User Guide.
Directory structure
Running the command above will generate the following directory structure:
License
MIT © Andreas Valegård
8 years ago