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 JS Intro
Search
cbishop
September 12, 2014
Programming
2
44
Grunt JS Intro
Short intro to GruntJS
cbishop
September 12, 2014
Tweet
Share
Other Decks in Programming
See All in Programming
AtCoder Conference 2025
shindannin
0
1k
AI Agent Tool のためのバックエンドアーキテクチャを考える #encraft
izumin5210
6
1.8k
MUSUBIXとは
nahisaho
0
130
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
680
AI前提で考えるiOSアプリのモダナイズ設計
yuukiw00w
0
220
AI時代の認知負荷との向き合い方
optfit
0
150
Patterns of Patterns
denyspoltorak
0
1.4k
CSC307 Lecture 07
javiergs
PRO
0
550
メルカリのリーダビリティチームが取り組む、AI時代のスケーラブルな品質文化
cloverrose
2
510
humanlayerのブログから学ぶ、良いCLAUDE.mdの書き方
tsukamoto1783
0
180
360° Signals in Angular: Signal Forms with SignalStore & Resources @ngLondon 01/2026
manfredsteyer
PRO
0
120
なぜSQLはAIぽく見えるのか/why does SQL look AI like
florets1
0
450
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.7k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
160
Become a Pro
speakerdeck
PRO
31
5.8k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
120
ラッコキーワード サービス紹介資料
rakko
1
2.2M
Deep Space Network (abreviated)
tonyrice
0
46
HDC tutorial
michielstock
1
360
What's in a price? How to price your products and services
michaelherold
247
13k
Crafting Experiences
bethany
1
46
Test your architecture with Archunit
thirion
1
2.1k
The Cult of Friendly URLs
andyhume
79
6.8k
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', ['']); ! };