slush-yangular v0.1.5
DEPRECATED!
slush-yangular

A slush generator for AngularJS using Bootstrap and Less based on the AngularJS generator for Yeoman.
Installation
Install slush-yangular globally:
npm install -g slush-yangularRemember to install slush globally as well, if you haven't already:
npm install -g slushUsage
Create a new folder for your project:
mkdir my-angular-appRun the generator from within the new folder: Note name is optional
cd my-angular-app
slush yangular nameTasks
To generate additional scripts and files. Based on the AngularJS generator for Yeoman:
slush yangular:view nameslush yangular:controller nameslush yangular:route nameslush yangular:directive nameslush yangular:filter nameslush yangular:service nameslush yangular:factory nameslush yangular:constant nameGulpfile
The gulpfile is based on the gulp-webapp generator for Yeoman
Development
To start developing in your new generated project run: Note --open is optional. This argument opens the browser
gulp serve --openThen head to http://localhost:9000 in your browser.
The serve task starts a static file server, which serves your AngularJS application, and a watch task which watches your files for changes and lints, builds and injects them into your index.html accordingly.
Testing
To run Karma tests:
gulp testProduction ready build
To make the app ready for deploy to production run:
gulp buildNow you have a ./dist folder with all your scripts and stylesheets concatenated and minified, also third party libraries installed with bower will be concatenated and minified into vendors.min.js and vendors.min.css respectively.
Documentation
To generate ngDocs:
gulp docsNow you have a ./docs folder with all the generated documentation in a format that can be hosted.