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
AI Agent の開発と運用を支える Durable Execution #AgentsInProd
izumin5210
7
2.3k
副作用をどこに置くか問題:オブジェクト指向で整理する設計判断ツリー
koxya
1
590
QAフローを最適化し、品質水準を満たしながらリリースまでの期間を最短化する #RSGT2026
shibayu36
2
4.3k
Apache Iceberg V3 and migration to V3
tomtanaka
0
150
登壇資料を作る時に意識していること #登壇資料_findy
konifar
4
980
AIによる高速開発をどう制御するか? ガードレール設置で開発速度と品質を両立させたチームの事例
tonkotsuboy_com
7
2k
360° Signals in Angular: Signal Forms with SignalStore & Resources @ngLondon 01/2026
manfredsteyer
PRO
0
120
AI前提で考えるiOSアプリのモダナイズ設計
yuukiw00w
0
220
Fragmented Architectures
denyspoltorak
0
150
OSSとなったswift-buildで Xcodeのビルドを差し替えられるため 自分でXcodeを直せる時代になっている ダイアモンド問題編
yimajo
3
610
Lambda のコードストレージ容量に気をつけましょう
tattwan718
0
110
AIと一緒にレガシーに向き合ってみた
nyafunta9858
0
170
Featured
See All Featured
Designing for Timeless Needs
cassininazir
0
130
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.2k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
7.9k
The Invisible Side of Design
smashingmag
302
51k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.7k
Test your architecture with Archunit
thirion
1
2.1k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.1k
Designing for humans not robots
tammielis
254
26k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.9k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
1
1.3k
How to Think Like a Performance Engineer
csswizardry
28
2.4k
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', ['']); ! };