Angular yeoman generator simple for my needs.
Install generator-anguarize from npm
Usage
Project
yo angularize
Controller
yo angularize:controller "name"
Service
yo angularize:service "name"
Directive
yo angularize:directive "name"
Filter
yo angularize:filter "name"
Options
Coffeescript --coffee
yo angularize --coffee || yo angularize:controller "name" --coffee
Sass --sass
.scss extention
yo angularize --sass
Less --less
yo angularize --less
Gulp
I have create some gulp tasks to build and run your angular project.
-
gulp
(Default task) -
gulp coffee
(Compile coffescript) -
gulp styles
(Compile less, sass) -
gulp index
(Inject scripts to index) -
gulp clean
(Delete build files. Compiled and minified scripts and styles) -
gulp watch
(Watch and compile if any file change)
Will compile less,sass or coffee if are installed and will create a http server
to work. Livereload works also when you change any file.
Coffee, less and sass will compiled and webserver will reload automatically.
Have fun :)