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
Marco Bohler
November 06, 2014
Programming
690
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Grunt
Lightning Talk about Grunt (gruntjs.com)
Marco Bohler
November 06, 2014
Other Decks in Programming
See All in Programming
C#の現在地 進化の歴史と、AI時代の.NET Everywhere
neuecc
5
5.2k
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Kaigi on Rails 2026, Tokyo, Japan
marcoroth
2
230
Atomic Design, Enforced: Scaling Mobile Design Systems (next.app devCon / droidCon Berlin 2026)
steliosf
PRO
0
170
S3 TablesのIcebergデータに、AIエージェントからアクセスしてみた / 20261016developersio2026joetsu-accessing-iceberg-in-s3tables-via-agent
kasacchiful
PRO
0
160
個人開発者よ、Honoを使え(おじさんver)
tanahiro2010
2
260
見えないものを探る要求要件定義に必要な基本的思考 / invisible-requirement-thinking
minodriven
15
8.5k
[2026-09-26]空論ジェネリックプロセス~テスト資産とAIで紡ぐ、再現可能なパフォーマンスチューニングの話~
tosite
0
270
AIに “答え“を書かせるのを やめてみた
___akari11
0
120
Domain-Driven Transformation
hschwentner
2
2.3k
機械に任せるテスト、人が見るテスト ⽣成AIで引き直した、運⽤保守フェーズの線引き
dske104
0
190
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
5
790
設計次第でAIコードの読む量は減らせる / designing-for-code-reading
minodriven
35
17k
Featured
See All Featured
Amusing Abliteration
ianozsvald
1
350
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
530
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.2k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
Un-Boring Meetings
codingconduct
0
460
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3.4k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
570
The Limits of Empathy - UXLibs8
cassininazir
2
720
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.6k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.9k
Transcript
About Grunt and how to use it
ABOUT #ME • WebDev @smartive GmbH • Passionate Frontend Developer
• Software Engineering Student @zhaw Winterthur
OVERVIEW • Basic Installation and NPM • Plugin Installation and
Embedding it into a task • Create your own Tasks
ABOUT GRUNT
WHAT CAN YOU DO WITH IT? • Create building tasks
- Minify images - Precompile templates - Minify JS-Files - Deployment • Execute development tasks - Watch code changes and react on it - Build CSS from SASS/LESS - Execute unit tests
SETUP CLI $ npm install -g grunt-cli
PACKAGE.JSON { "name": "my-project-name", "version": "0.1.0", "devDependencies": { "grunt": "~0.4.5"
} }
INSTALL DEPENDENCIES $ npm install http://gruntjs.com/plugins
ADD DEPENDENCY $ npm install grunt —save-dev
GRUNTFILE.JS • Task Configuration (JSON) • Task Registration and Inclusion
TASK CONFIGURATION • Configuration node has the same name as
the task name
BASIC TASK REGISTRATION grunt.registerTask(‘taskname’, ’description’, myFunction); • Register a task
which executes a bunch of subtasks
TASK REGISTRATION • Register a task which executes a bunch
of subtasks grunt.registerTask('default', ['watch']); • Execute with grunt taskname
MULTITASK REGISTRATION • Accessing a configuration node grunt watch:foo •
Execute with grunt
FURTHER FEATURES • Project Scaffolding - Building custom project structures
TIME TO RUN YOUR TASKS