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
レガシーシステムにどう立ち向かうか 複雑さと理想と現実/vs-legacy
suzukihoge
15
2.3k
Jakarta EE meets AI
ivargrimstad
0
770
EMになってからチームの成果を最大化するために取り組んだこと/ Maximize team performance as EM
nashiusagi
0
100
DevTools extensions で 独自の DevTool を開発する | FlutterKaigi 2024
kokiyoshida
0
120
rails new flags - `rails new` のフラグから Rails を構成するコンポーネントの変遷をザックリ眺める
snaka
0
1.8k
Outline View in SwiftUI
1024jp
1
340
初めてDefinitelyTypedにPRを出した話
syumai
0
430
Creating a Free Video Ad Network on the Edge
mizoguchicoji
0
120
Jakarta EE meets AI
ivargrimstad
0
320
ECS Service Connectのこれまでのアップデートと今後のRoadmapを見てみる
tkikuc
2
260
NSOutlineView何もわからん:( 前編 / I Don't Understand About NSOutlineView :( Pt. 1
usagimaru
0
350
カンファレンスの「アレ」Webでなんとかしませんか? / Conference “thing” Why don't you do something about it on the Web?
dero1to
1
120
Featured
See All Featured
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Adopting Sorbet at Scale
ufuk
73
9.1k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
720
Designing for humans not robots
tammielis
250
25k
Rails Girls Zürich Keynote
gr2m
94
13k
Building Your Own Lightsaber
phodgson
103
6.1k
Code Reviewing Like a Champion
maltzj
520
39k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.4k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
The Pragmatic Product Professional
lauravandoore
31
6.3k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
430
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