Yeoman + Grunt + Bower
A better threesome!
Yeoman
Open source - client side - development stack
Helps developers to kick start building high quality web apps
Scaffolding tool - generates boiler plates with libraries
Runs as a command line interface written in - nodejs
Yeoman.io
Yeoman was released at Google I/O 2012.
Grunt
A Javascript Task Runner - Automation tool
The less work you have to do when performing repetitive tasks like
● Minification
● Compilation
● Unit testing
the easier your job becomes.
Gruntjs.com
Bower
A package manager, works by
● Fetching and installing packages
● Taking care of hunting, finding
● Downloading, and saving
the stuff you’re looking for.
Bower keeps track of these packages in a manifest file
bower.json
Bower.io
Let’s get started
nodejs & npm
Windows
nodejs.org/ - download and install
Linux
sudo apt-get install nodejs
sudo apt-get install npm
yo
Install Yeoman
npm install -g yo
Install default generator
npm install -g generator-webapp
Grunt
Install Grunt
npm install -g grunt-cli
Bower
Install Bower
npm install -g bower
Let’s start building
Go to your desired project folder and run - $ yo
Choose the generator as webapp
Run $ grunt serve and watch the magic
Build the default web-app
Let’s dive deep
Manage with Bower
Get a package
$ bower install <package-name>
Get and save dependency in bower.json
$ bower install <package-name> -S
See all dependencies
$ bower list
Build distributables
$ grunt build
Makes the dist folder
App is now ready for deployment
Thank you
Session by Raveen Harith Perera & Milindu Sanoj Kumarage
Google I/O Rewind 2015 Sri Lanka

More Related Content

PDF
Yeoman + grunt + bower
PDF
Modernizing Your WordPress Workflow with Grunt & Bower
PPTX
Introduction to using Grunt & Bower with WordPress theme development
PPTX
WordPress Bhubaneswar Meetup - dive into gutenberg creation
PDF
Cross-platform Desktop application with AngularJS and build with Node-webkit
PPTX
Blogging for hackers (english)
PDF
Automate your WordPress Workflow with Grunt.js
PDF
Workshop On WP-CLI
Yeoman + grunt + bower
Modernizing Your WordPress Workflow with Grunt & Bower
Introduction to using Grunt & Bower with WordPress theme development
WordPress Bhubaneswar Meetup - dive into gutenberg creation
Cross-platform Desktop application with AngularJS and build with Node-webkit
Blogging for hackers (english)
Automate your WordPress Workflow with Grunt.js
Workshop On WP-CLI

What's hot (20)

PPTX
Building a PWA - For Everyone Who Is Scared To
KEY
Hello Cats: MobileWidgetCamp talk about mobile widgets
PPT
Using Firebug & YSlow
PPT
Intro to jQuery - Tulsa Ruby Group
PDF
Native Desktop App with Node.js Webkit (HTML, CSS & Javascript)
PDF
Extending your WordPress Toolbelt with WP-CLI - WordCamp Austin 2014
PDF
Getting Started With Grunt for WordPress Development
PPT
Extending Your WordPress Toolbelt with WP-CLI
PDF
Building time machine with .net core
PPTX
Ryan Duff 2015 WordCamp US HTTP API
PDF
WP-CLI For The Win
PDF
Work smart with Gutenberg - Fellyph Cintra
PPTX
Don't Over-React - just use Vue!
PPTX
Front end development gurant
KEY
WebGL Awesomeness
PDF
WordPress Performance optimization
PDF
Create a module bundler from scratch
PPTX
Azure Web SItes - Things they don't teach kids in school - Multi-Mania
PDF
Making Magic with WP-CLI
PPTX
Blackberry
Building a PWA - For Everyone Who Is Scared To
Hello Cats: MobileWidgetCamp talk about mobile widgets
Using Firebug & YSlow
Intro to jQuery - Tulsa Ruby Group
Native Desktop App with Node.js Webkit (HTML, CSS & Javascript)
Extending your WordPress Toolbelt with WP-CLI - WordCamp Austin 2014
Getting Started With Grunt for WordPress Development
Extending Your WordPress Toolbelt with WP-CLI
Building time machine with .net core
Ryan Duff 2015 WordCamp US HTTP API
WP-CLI For The Win
Work smart with Gutenberg - Fellyph Cintra
Don't Over-React - just use Vue!
Front end development gurant
WebGL Awesomeness
WordPress Performance optimization
Create a module bundler from scratch
Azure Web SItes - Things they don't teach kids in school - Multi-Mania
Making Magic with WP-CLI
Blackberry
Ad

Similar to Yeoman + Grunt + Bower - Google I/O Rewind Sri Lanka (20)

PPSX
Yeoman - Santa Barbara JavaScript Meetup
PDF
Front end workflow with yeoman
PDF
Yeoman Workflow
PDF
Frontend Build Tools - CC FE & UX
PDF
Modern Web Application Development Workflow - web2day 2014
PDF
Yeoman intro
PPTX
Yeoman
PPTX
PPTX
Front end task automation using grunt, yeoman and npm(1)
PPT
Bootstrapping angular js with bower grunt yeoman
PPTX
Modern Development Tools
PDF
JavaScript Power Tools 2015
PDF
JavaScript Power Tools 2015 - Marcello Teodori - Codemotion Rome 2015
PDF
Rapidly scaffold your frontend with yeoman
PDF
Modern Web Application Development Workflow - EclipseCon US 2014
PDF
Modern Web Application Development Workflow - EclipseCon France 2014
PDF
Front-end tools
PDF
Modern Web Application Development Workflow - EclipseCon Europe 2014
PDF
Grunt training deck
Yeoman - Santa Barbara JavaScript Meetup
Front end workflow with yeoman
Yeoman Workflow
Frontend Build Tools - CC FE & UX
Modern Web Application Development Workflow - web2day 2014
Yeoman intro
Yeoman
Front end task automation using grunt, yeoman and npm(1)
Bootstrapping angular js with bower grunt yeoman
Modern Development Tools
JavaScript Power Tools 2015
JavaScript Power Tools 2015 - Marcello Teodori - Codemotion Rome 2015
Rapidly scaffold your frontend with yeoman
Modern Web Application Development Workflow - EclipseCon US 2014
Modern Web Application Development Workflow - EclipseCon France 2014
Front-end tools
Modern Web Application Development Workflow - EclipseCon Europe 2014
Grunt training deck
Ad

Yeoman + Grunt + Bower - Google I/O Rewind Sri Lanka