Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Grunt
Search
side road
June 15, 2013
Programming
310
8
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Grunt
side road
June 15, 2013
Transcript
15 slides
@sideroad 136݄15༵
@sideroad Personal product Automatic Front end optimization tool Resolving dependencies
library ( recipe.js ) Executing Selenium with html suite Grunt plugins ( testem, minset, feo, selenium, recipe JavaScript template engine jQuery plugins ( sidebar, floating message, text animation MVC Framework on jQuery UI Chrome extension ( URL Parameter scaffolding tool 136݄15༵
Why use a task runner? Automation any things!! such as...
minification concatenation compilation unit testing linting code metrics coverage doc less, sass 136݄15༵
Before using grunt... 136݄15༵
Install 1. prepare package.json onto project root 2.install with npm
136݄15༵
Prepare Gruntfile.js 136݄15༵
Build 136݄15༵
Sample project: recipe.js https:/ /github.com/sideroad/recipe Tutorial 136݄15༵
Watch task Execute Grunt task when scripts were changed 136݄15༵
Chrome extension Execute grunt task from your chrome 136݄15༵
Other plugins http:/ /gruntjs.com/plugins over 887 plugins 136݄15༵
Grunt on CI Grunt on Jenkins http:/ /localhost:8080/job/recipe/ Grunt on
Travis https:/ /travis-ci.org/sideroad/recipe 136݄15༵
JavaScript Developer Making Production Component ( clean, concat, uglify, yui-
compressor, copy ) Linter ( jshint ) Unit Test ( contrib-jasmine, contrib-mocha, contrib-qunit, nodeunit, testem ) Web Application Test ( selenium, browserstack ) Test Coverage ( qunit-cov, jasmine-coverage, mocha-cov ) Code Metrics ( plato ) Coffeescript ( coffee ) require.js ( requrejs ) 136݄15༵
Web Designer CSS preprocessor ( compass, less, sass ) CSS
sprite ( imagine ) Linter ( html, csslint ) Minification ( htmlmin, imagemin ) Livereload ( livereload ) FEO ( feo ) 136݄15༵
Reference Grunt http:/ /gruntjs.com How to setup Grunt on Jenkins
http:/ /sideroad.secret.jp/articles/ grunt-on-jenkins/ 136݄15༵
More Decks by side road
See All by side road
The Essence of Front End Development
sideroad
0
330
chaus - Build RESTful API within 5 min
sideroad
0
57
Testing Basics
sideroad
0
65
Other Decks in Programming
See All in Programming
Kotlin JVM用に作られたライブラリのKMPを前提とした再設計
jsoizo
0
230
Secure Your Coding Agent Like It’s Malware (v1.5) 🇬🇧 @Code.talks 2026
richargh
0
210
Lean で手続き的プログラム の証明が書けるようになった
inoueasei
8
2.4k
[DroidKnights 2026] Workflow AX 적용기 — 자동 정책 정리부터 E2E까지
dayeon
0
120
AI Augmentation Techniques with Liberty
ivargrimstad
1
570
Enforcing Your Architecture with Unit Tests in the AI Era (Swift Connection X)
steliosf
PRO
1
190
SODA - FACT BOOK(EN)
sodainc
1
290
Engineering Biometric UX Across Android Versions | DroidKnights 2026
ryunen344
1
220
How SRE Grew Out of Server-Side Work and Became the Team's Own / サーバサイドから始まったSREを チームに渡すまで
maaaato
1
250
AWS CDKを理解するために公式の定義を深掘って解説してみる / Understanding AWS CDK by Digging into Its Official Definition
akihisaikeda
3
340
作れるエンジニアから、価値を届けるエンジニアへ
ryunakayama
1
930
Kotlin Fest 2026: Kotlin コンパイラに Contribute してみよう! - Kotlin/Wasm で深い再帰を書けるようにした話
ternbusty
1
420
Featured
See All Featured
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
70
69k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
490
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
670
Six Lessons from altMBA
skipperchong
29
4.6k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
540
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
1
320
Embracing the Ebb and Flow
colly
88
5.2k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.3k
Documentation Writing (for coders)
carmenintech
77
5.7k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.3k