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 - Automatização de tarefas
Search
Cléverton Heming
October 23, 2015
Programming
0
96
Grunt - Automatização de tarefas
Mini-curso de GruntJS realizado no CCTEC 2015 na Univates
Cléverton Heming
October 23, 2015
Tweet
Share
More Decks by Cléverton Heming
See All by Cléverton Heming
Estendendo a linguagem CSS com pré-processadores
clevertonh
0
120
Other Decks in Programming
See All in Programming
そのAIレビュー、レビューしてますか? / Are you reviewing those AI reviews?
rkaga
6
4.6k
要求定義・仕様記述・設計・検証の手引き - 理論から学ぶ明確で統一された成果物定義
orgachem
PRO
1
240
Oxlintはいいぞ
yug1224
5
1.4k
インターン生でもAuth0で認証基盤刷新が出来るのか
taku271
0
190
16年目のピクシブ百科事典を支える最新の技術基盤 / The Modern Tech Stack Powering Pixiv Encyclopedia in its 16th Year
ahuglajbclajep
5
1k
日本だけで解禁されているアプリ起動の方法
ryunakayama
0
250
Lambda のコードストレージ容量に気をつけましょう
tattwan718
0
150
React Native × React Router v7 API通信の共通化で考えるべきこと
suguruooki
0
100
Honoを使ったリモートMCPサーバでAIツールとの連携を加速させる!
tosuri13
1
180
疑似コードによるプロンプト記述、どのくらい正確に実行される?
kokuyouwind
0
390
AIで開発はどれくらい加速したのか?AIエージェントによるコード生成を、現場の評価と研究開発の評価の両面からdeep diveしてみる
daisuketakeda
1
2.5k
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
690
Featured
See All Featured
Test your architecture with Archunit
thirion
1
2.2k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
830
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
180
Skip the Path - Find Your Career Trail
mkilby
0
60
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.3k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.6k
Being A Developer After 40
akosma
91
590k
Statistics for Hackers
jakevdp
799
230k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Building an army of robots
kneath
306
46k
First, design no harm
axbom
PRO
2
1.1k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
79
Transcript
None
Automação de tarefas com GRUNT JS
CLÉVERTON HEMING
O que é Criado por Ben Alman (@cowboy), Grunt JS
é uma ferramenta de linha de comando para a automatização de tarefas.
Quem utiliza http://gruntjs.com/who-uses-grunt
+ 4400 Plugins
O que precisamos? Node JS NPM
Como instalar? A instalação do NodeJS. sudo apt-get install nodejs
A instalação do NPM. sudo apt-get install npm
Vamos começar Para começar é necessário ter instalado o grunt-cli
que é a interface de linha de comando do Grunt JS npm install grunt-cli -g
Após a instalação o comando grunt vai estar disponível no
terminal. O grunt-cli não instala o grunt. O grunt-cli é o cliente que utiliza o grunt instalado no projeto
Como funciona? Ao executar o comando grunt, é procurado a
instalação do projeto, após isso carrega todos os plugins e executa as tarefas
Para utilizar o grunt, é necessários dois arquivos no projeto.
• package.json • Gruntfile.js
package Podemos gerar o arquivo package.json pelo NPM, para isso
basta executar um comando e preencher os dados solicitados. npm init
None
Gruntfile O arquivo Gruntfile.js será criado manualmente ou pode ser
utilizado um modelo disponível no site do Grunt JS. http://gruntjs.com/sample-gruntfile
None
chega de teoria, VAMOS COMEÇAR