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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
53
Testing Basics
sideroad
0
61
Other Decks in Programming
See All in Programming
KotlinConf Extended South Korea 2026 Keynote
l2hyunwoo
0
130
PyO3 で既存 Python 評価器を Rust core 化する ー wasm-bindgen でブラウザにも配るための設計
kdash
1
350
AIエージェント時代のコードレビューを設計する
nogu66
5
2.4k
Oxlintはいいぞ(続)
yug1224
1
540
LLMは4年分のCompose移行を再現できるのか?実プロダクト279件のXMLで探る自動化の境界線
makun
0
360
XHTMLが残したもの
yosuke_furukawa
PRO
1
380
AI に Inclusive UI を書かせよう — Design Rules Skill で Compose UI を作り直す
theoriatec2024
1
430
初心者DevRelとして参加者だった私が、DevRel Talks!#2に登壇するまでにしてきたこと
sokohirai
0
330
Seeing Through Serverless: Observability for AWS Lambda with ADOT and CloudWatch Application Signals
seike460
PRO
1
120
ALB ログから Trace を気合で繋げる技術
fohte
7
860
リアルな遅延を測る仕様
kota_yata
1
140
MySQLとPostgreSQLって何が違うの?
akagami
PRO
0
160
Featured
See All Featured
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
2.7k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.5k
Leo the Paperboy
mayatellez
8
2.2k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
570
The Cost Of JavaScript in 2023
addyosmani
55
10k
Site-Speed That Sticks
csswizardry
13
1.5k
Designing Powerful Visuals for Engaging Learning
tmiket
1
530
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.8k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
WCS-LA-2024
lcolladotor
0
820
The Curse of the Amulet
leimatthew05
2
14k
How to build a perfect <img>
jonoalderson
1
5.9k
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༵