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
76
Other Decks in Programming
See All in Programming
Keeping it Ruby: Why Your Product Needs a Ruby SDK - RubyWorld 2024
envek
0
190
競技プログラミングへのお誘い@阪大BOOSTセミナー
kotamanegi
0
360
Refactor your code - refactor yourself
xosofox
1
260
Zoneless Testing
rainerhahnekamp
0
120
Semantic Kernelのネイティブプラグインで知識拡張をしてみる
tomokusaba
0
180
CQRS+ES の力を使って効果を感じる / Feel the effects of using the power of CQRS+ES
seike460
PRO
0
130
HTTP compression in PHP and Symfony apps
dunglas
2
1.7k
複雑な仕様に立ち向かうアーキテクチャ
myohei
0
170
rails statsで大解剖 🔍 “B/43流” のRailsの育て方を歴史とともに振り返ります
shoheimitani
2
930
短期間での新規プロダクト開発における「コスパの良い」Goのテスト戦略」 / kamakura.go
n3xem
2
170
アクターシステムに頼らずEvent Sourcingする方法について
j5ik2o
4
270
【re:Growth 2024】 Aurora DSQL をちゃんと話します!
maroon1st
0
780
Featured
See All Featured
For a Future-Friendly Web
brad_frost
175
9.4k
Rails Girls Zürich Keynote
gr2m
94
13k
A designer walks into a library…
pauljervisheath
204
24k
Thoughts on Productivity
jonyablonski
67
4.4k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Designing for Performance
lara
604
68k
Reflections from 52 weeks, 52 projects
jeffersonlam
347
20k
Java REST API Framework Comparison - PWX 2021
mraible
28
8.3k
Adopting Sorbet at Scale
ufuk
73
9.1k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
5
450
Side Projects
sachag
452
42k
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