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
More Decks by side road
See All by side road
The Essence of Front End Development
sideroad
0
320
chaus - Build RESTful API within 5 min
sideroad
0
55
Testing Basics
sideroad
0
61
Other Decks in Programming
See All in Programming
選挙速報を多くのユーザーへ 届ける Live Activities 設計
hamayokokuririn
0
170
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
370
半永久的に提供し続けられるプライベートクラウドを目指して ― 利用者の認知負荷を抑えるAPI抽象化とハードウェア世代交代の基盤設計
tomokon
0
120
そのリトライ、死んだコネクションを使い回していませんか ── GoのHTTPクライアントとHTTP/2を実プロダクト障害から学び直す
myus4a
0
280
Workers Cache を知る
syumai
0
290
【高い買い物LT会】初任給で話題の国産フィジカルAIを買った話
akagami
PRO
0
170
JAWS-UG 東京支部が始める、JAWS-UG支部コラボ / JAWS-UG lunchtime LT Collaboration
y0hgi
0
160
AWS DevOps Agentで インシデント対応をAIに任せたい
honmarkhunt
7
3.3k
Streamlitで実現する自然言語データアプリ開発
ayumu_yamaguchi
1
320
wkhtmltopdfの次どうするか問題2026
willnet
2
1.8k
AGENTS.md Is Not Enough:Build Skills, Don't Download Them
lx_t
0
130
WebMCP Challenge に星空観察アプリで参加した話
okajun35
0
200
Featured
See All Featured
How Software Deployment tools have changed in the past 20 years
geshan
2
34k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.5k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
700
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
950
Done Done
chrislema
187
17k
Optimizing for Happiness
mojombo
378
71k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.8k
Designing Powerful Visuals for Engaging Learning
tmiket
1
580
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
520
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.7k
Transcript
@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༵