Offers you a tailor-made workflow for your Angularjs Web App.
Offers you a tailor-made workflow for your Angularjs Web App.
You love Angularjs, Grunt and Bower ? You might be interested by ngTailor. ngTailor scaffolds out a new Angularjs application, writing your Grunt and Bower configurations and prepare for you revelant Grunt tasks you needs.
jshint
or csslint
on your code and even unit tests.npm install && bower install && grunt bower-install
to download your project dependencies and import them in your index.htmlBoth aim to provide you a collection of tools and best practices to improve your productivity as a modern front end developer. Yeoman is great but in my opinion, its generator-angular provides a bloated solution to manage and build angularjs applications. ngTailor let you choose in a much more fine-grained way, each tools or components you want to be included in your application and workflow. Note that ngTailor do not provide generator for directives, controllers etc like yeoman and generator-angular do.
npm install -g grunt-cli
npm install -g bower
npm install -g grunt-init
~/.grunt-init/
directory (%USERPROFILE%\.grunt-init\
on Windows)git clone https://github.com/lauterry/ngTailor.git ~/.grunt-init/angular
grunt-init angular
in your project foldernpm install && bower install
grunt dev
to serve your static assetsgrunt dev
to start a static web server and open your browser.jshint
and/or csslint
will be run on your files when they change.grunt package
to package your static assets for production.dist
folder and your javascripts and stylesheets will be concatenated, minified and versionned.grunt
: launch grunt package
, run unit tests and e2e test and generate complexity report. Use this task for continuous integration.grunt ls
: list and describe the available grunt tasks of your project.grunt test:unit
: run karma unit tests and show test coverage in console.grunt test:e2e
: run karma e2e testsgrunt report
: open complexity report in your browserrm -rf ~/.grunt-init/angular
git clone https://github.com/lauterry/ngTailor.git ~/.grunt-init/angular