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
Gruntjs: Automatizando tarefas front-end
Search
Tiago Celestino
June 13, 2014
Programming
1
150
Gruntjs: Automatizando tarefas front-end
Apresentação sobre GruntJs, um automatizador de tarefas para front-end.
Tiago Celestino
June 13, 2014
Tweet
Share
More Decks by Tiago Celestino
See All by Tiago Celestino
bower
tcelestino
1
80
Other Decks in Programming
See All in Programming
[初登壇@jAZUG]アプリ開発者が気になるGoogleCloud/Azure+wasm/wasi
asaringo
0
130
データの民主化を支える、透明性のあるデータ利活用への挑戦 2025-06-25 Database Engineering Meetup#7
y_ken
0
270
AIコーディング道場勉強会#2 君(エンジニア)たちはどう生きるか
misakiotb
1
240
エラーって何種類あるの?
kajitack
5
260
F#で自在につくる静的ブログサイト - 関数型まつり2025
pizzacat83
0
310
SODA - FACT BOOK
sodainc
1
1.1k
事業戦略を理解してソフトウェアを設計する
masuda220
PRO
22
6.2k
Development of an App for Intuitive AI Learning - Blockly Summit 2025
teba_eleven
0
120
単体テストの始め方/作り方
toms74209200
0
510
FormFlow - Build Stunning Multistep Forms
yceruto
1
190
Benchmark
sysong
0
220
都市をデータで見るってこういうこと PLATEAU属性情報入門
nokonoko1203
1
540
Featured
See All Featured
Balancing Empowerment & Direction
lara
1
340
Site-Speed That Sticks
csswizardry
10
650
The World Runs on Bad Software
bkeepers
PRO
68
11k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3k
Agile that works and the tools we love
rasmusluckow
329
21k
Done Done
chrislema
184
16k
Reflections from 52 weeks, 52 projects
jeffersonlam
351
20k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
657
60k
KATA
mclloyd
29
14k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
22k
Transcript
Gruntjs Automatizando tarefas front-end @tcelestino
The Javascript Tasks Runner
The Javascript Task Runner Não perca mais tempo com tarefas
repetitivas e “chatas”.
Voltando ao passado... http://marijnhaverbeke.nl/uglifyjs http://cssminifier.com/ http://tryjasmine.com/
Voltando ao passado... ...nem faz tanto tempo assim!
Iniciando com grunt
Iniciando com grunt $ npm install -g grunt-cli
Iniciando com grunt Você vai precisar deles: package.json * Gruntfile.js
*
Iniciando com grunt $ npm install
$ npm install nome-pacote --save-dev Iniciando com grunt
The Javascript Tasks Runner
The Javascript Tasks Runner $ npm install grunt-contrib-compass --save-dev https://github.com/gruntjs/grunt-contrib-compass
compass
The Javascript Tasks Runner $ npm install grunt-contrib-concat --save-dev https://github.com/gruntjs/grunt-contrib-concat
concatenação
The Javascript Tasks Runner $ npm install grunt-contrib-uglify --save-dev https://github.com/gruntjs/grunt-contrib-uglify
minificação js
The Javascript Tasks Runner $ npm install grunt-contrib-cssmin --save-dev https://github.com/gruntjs/grunt-contrib-cssmin
minificação css
The Javascript Tasks Runner $ npm install load-grunt-tasks --save-dev https://github.com/sindresorhus/load-grunt-tasks
esqueça o loadNpmTasks
The Javascript Tasks Runner $ npm install grunt-contrib-watch --save-dev fique
de olho em tudo https://github.com/gruntjs/grunt-contrib-watch
The Javascript Tasks Runner $ npm install grunt-browser-sync --save-dev refresh
nunca mais https://github.com/shakyshane/grunt-browser-sync
The Javascript Tasks Runner
Até a próxima, eu acho...
One more thing...
$ npm install grunt-contrib-jasmine --save-dev fazendo testes!!! https://github.com/gruntjs/grunt-contrib-jasmine The Javascript
Tasks Runner
Agora acabou!! github: tcelestino twitter: @tcelestino http://bit.ly/techtalk-gruntjs-github http://bit.ly/techtalk-gruntjs