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
Hugo Deiró
May 12, 2016
Programming
0
24
Grunt
An introduction to the Grunt Tool
Hugo Deiró
May 12, 2016
Tweet
Share
More Decks by Hugo Deiró
See All by Hugo Deiró
Introduction to NPM
hdeiro
0
64
Other Decks in Programming
See All in Programming
FigmaとPHPで作る1ミリたりとも表示崩れしない最強の帳票印刷ソリューション
ttskch
43
19k
PostmanでAPIの動作確認が楽になった話
h455h1
0
180
"config" ってなんだ? / What is "config"?
okashoi
0
250
Micro Frontends for Java Microservices - Utah JUG 2024
mraible
PRO
1
100
障害対応を起点としたもっといい開発と運用のサイクル作りのためにできること / Hatena Enginner Seminar #29
polamjag
0
320
検証も兼ねて個人開発でHonoとかと向き合った話
hanetsuki
1
1.3k
OpenAPIを中心に考えるAPI開発入門 / Introduction to API Development with a Focus on OpenAPI
seike460
PRO
2
170
禅の心を手に入れよ
eltociear
1
280
CA.swift19 恋するAIアプリ開発の裏側
oskmr
0
380
Sheets API使ってみた
toshi0383
2
150
AppRouter Panel Talk
yosuke_furukawa
PRO
1
440
PHPはいつから死んでいるかの調査
chiroruxx
2
410
Featured
See All Featured
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3.1k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
34
8.9k
The Cult of Friendly URLs
andyhume
74
5.7k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
13
8.3k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
323
20k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
155
14k
Code Reviewing Like a Champion
maltzj
515
39k
Designing Experiences People Love
moore
136
23k
Infographics Made Easy
chrislema
238
18k
The World Runs on Bad Software
bkeepers
PRO
61
6.7k
Gamification - CAS2011
davidbonilla
76
4.6k
Building a Scalable Design System with Sketch
lauravandoore
457
32k
Transcript
None
/hdeiro /in/hdeiro
[email protected]
/hdeiro hdeiro.github.io
O que é Automatização de Software? Por que devo Automatizar?
O que é o Grunt Como utilizar o Grunt
“O Grunt é uma ferramenta de linha de comando para
JavaScript com o objetivo de tornar tarefas repetitivas, porém necessárias, triviais”.
O Grunt tem como dependência funcional o Node Package Manager
(NPM), que permitirá o download de plugins, além da própria ferramenta.
É necessário realizar duas instalações do grunt. Globalmente: npm i
–g grunt-cli Localmente (Pasta do Projeto): npm i grunt -D
É necessário criar um arquivo chamado gruntfile.js (ou gruntfile.coffee, para
CoffeScript), que agrupará as tasks da ferramenta.
gruntfile.js
Existem plugins para as mais diversas tarefas no portal do
Grunt (http://gruntjs.com/) .
grunt-contrib-uglify
grunt-http-server
grunt-contrib-concat
grunt-contrib-watch
grunt-contrib-compass
grunt-contrib-concurrent
None