Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
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
50
Testing Basics
sideroad
0
59
Other Decks in Programming
See All in Programming
IBM Bobを活用したレガシーアプリの最新化
oniak3ibm
PRO
1
230
どこまでゆるくて許されるのか
tk3fftk
0
290
エージェンティックRAGにAWSで入門しよう!
har1101
9
1.9k
SLOをサービス品質の共通言語にするために 取り組んできたこと
wakana0222
0
220
ECSアプリログをFireLensでコスト削減しようとしたけど諦めた話 in Fargate×Node.js
akihisaikeda
2
4.2k
技術記事、 専門家としてのプログラマ、 言語化
mizchi
13
7.2k
Observability in Practice:Grafana 與 Edge Device SRE 的那些事
blueswen
0
180
Vue × Nuxt × Oxc どこまで使える?実運用の現在地
andpad
0
330
技術的負債解消で開発者の未来を開く- AIの力でコード刷新
kmd2kmd
0
130
エンジニア向け会社紹介/Findy Company Profile
findyinc
6
360k
Even G2とAWSで推しのエージェントを召喚しよう!
har1101
1
140
A2UI という光を覗いてみる
satohjohn
1
170
Featured
See All Featured
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
320
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
590
Unsuck your backbone
ammeep
672
58k
My Coaching Mixtape
mlcsv
0
160
sira's awesome portfolio website redesign presentation
elsirapls
0
290
Game over? The fight for quality and originality in the time of robots
wayneb77
1
210
Java REST API Framework Comparison - PWX 2021
mraible
34
9.4k
The World Runs on Bad Software
bkeepers
PRO
72
12k
30 Presentation Tips
portentint
PRO
1
340
Bash Introduction
62gerente
615
220k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.6k
Statistics for Hackers
jakevdp
799
230k
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༵