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 JS Intro
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
cbishop
September 12, 2014
Programming
47
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Grunt JS Intro
Short intro to GruntJS
cbishop
September 12, 2014
Other Decks in Programming
See All in Programming
作って学ぶSpring BootのAuto Configuration / JJUG Night Seminar 2026-10-19
rshindo
0
150
The Rails Doctrine Decade
koic
2
590
Agents on Rails - Rails at Scale 2026
irinanazarova
0
560
[2026-09-26]空論ジェネリックプロセス~テスト資産とAIで紡ぐ、再現可能なパフォーマンスチューニングの話~
tosite
0
270
KiroのSpecで「五目並べ」を作ってみる
satoshi256kbyte
1
380
[ハンズオン]AIへの指示だけで「五目並べ」を作ってみよう
satoshi256kbyte
1
380
JIS keyboard support in Omarchy
lef237
0
120
Optunaを作ったときにやりたかったこと、その後 (2026/10/16, Optuna Meetup #3)
iwiwi
1
430
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
1.1k
動作中のプログラムの中身をリアルタイムに覗く / Realtime Debugger for CSharp with Roslyn
prota
1
1.9k
すこし踏み込む CancellationToken
htkym
2
1.7k
APNsからLive Activityを開始する話
yumnumm
0
170
Featured
See All Featured
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
780
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Ruling the World: When Life Gets Gamed
codingconduct
0
400
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
730
Six Lessons from altMBA
skipperchong
29
4.5k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
330
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
2
410
Between Models and Reality
mayunak
4
500
GitHub's CSS Performance
jonrohan
1033
470k
Transcript
INTRO TO Better than CodeKit
GRUNT IN A NUTSHELL • Javascript task runner • Runs
on the command line • Runs on Node.js • Thousands of plugins
WHY USE GRUNT • Automation • Open Source • Ease
of Use • Large community • Efficient & Flexible • Multi-platform • Free (take that CodeKit)
WHAT CAN YOU DO WITH GRUNT? • CSS Preprocessing •
JS Linting • Minification & Concatenation • Image Optimization • JS Testing • Almost Anything http://gruntjs.com/plugins
GRUNT SETUP • Download Node.js and NPM www.nodejs.org • Install
Grunt CLI • Prepare package.json and Gruntfile.js
INSTALL GRUNT CLI npm install -g grunt-cli Uninstall Grunt Globally
npm uninstall -g grunt
package.json ! ! { "name": "grunt-intro", "version": "0.1.0", "devDependencies": {
} }
Gruntfile.js ! ! module.exports = function(grunt) { ! // Grunt
Code ! }; Grunt Wrapper
Gruntfile.js ! ! grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), ! // Plugin configuration
! }); Task Configuration
Gruntfile.js ! ! grunt.loadNpmTasks(''); Load Plugins and Tasks
Gruntfile.js ! ! grunt.registerTask('default', ['']); Custom Tasks
! ! module.exports = function(grunt) { ! grunt.initConfig({ pkg: grunt.file.readJSON('package.json'),
! }); ! grunt.loadNpmTasks(''); ! grunt.registerTask('default', ['']); ! };