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, Bower and Yeoman ? 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 generator-angular is great but in my opinion, it 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 yo
npm install -g grunt-cli bower
to install bower and grunt
npm install -g generator-ngtailor
yo ngtailor
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 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 browsergrunt ci
: launch grunt package
, run unit tests and e2e test and generate complexity report. Use this task for continuous integration.npm update -g generator-ngtailor
Yeoman has a heart of gold. He's a person with feelings and opinions, but he's very easy to work with. If you think he's too opinionated, he can be easily convinced.
If you'd like to get to know Yeoman better and meet some of his friends, Grunt and Bower, check out the complete Getting Started Guide.
MIT