Grunt
Grunt.js is a JavaScript task runner that helps
you perform repetitive tasks such as
minification,
linting or
unit testing.
W
ith more than 3.100
plugins
and
custom task
you can do whatevery you need.
Bower
just a package manager for front-end
packages and assets like
jQuery
bootstrap
font-awesome
+ 16.662 further
packages
YO, YEOMAN!
TEAM
YO STATS
70,000 DOWNLOADS LAST MONTH
900 GENERATORS AVAILABLE
21 MAINTAINED BY THE YEOMAN TEAM
Webapp (single page)
Mobile Webapp
AngularJS
Angular-fullstack (AngularJS with an Express server)
Backbone.js
Ember.js
Node
Hapi
Chrome Extensions
Jekyll
WordPress
Java (
Maven + Spring + AngularJS)
INSTALL YEOMAN
npm install -g yo
For npm versions < 1.2.10
npm install -g grunt-cli bower
INSTALL a generator
npm install -g generator-node-gulp
use it
mkdir my-project && cd $_
yo node-gulp
Your own generator
install the
GENERATOR
generator
npm install -g generator-generator
User interactions
Prompts
Arguments
Options
Prompts
Prompts are the main way a generator interact with a user.
The prompt module is provided by
Inquirer.js
LIST - { TYPE: "LIST" }
{ type: "rawlist" }
{ type: "expand" }
{ type: "checkbox" }
{ type: "confirm" }
{ type: "password" }
{ type: "input" }
Arguments & Options
http://yeoman.io/authoring/user-interactions.html
start yo
yo generator
LINKS
Getting Started
API Documentation
Unit testing
QUESTIONS?
THANK YOU
Made with Slides.com