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 a Bower
Search
Jakub Mikulas
February 05, 2014
Technology
52
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Grunt a Bower
Prezentace o základech Grunt a Bower pro Q2 Interactive
Jakub Mikulas
February 05, 2014
More Decks by Jakub Mikulas
See All by Jakub Mikulas
Vue.js techtalk: Advanced
jackub
0
110
Vue.js techtalk: Introduction
jackub
0
120
Semantic release tech talk
jackub
0
41
Úvod do SVG
jackub
0
580
HTML5 video
jackub
0
210
Other Decks in Technology
See All in Technology
モノリス Rails でも日中に rails db:migrate を走らせたい! / Daytime rails db:migrate on Monolithic Rails!
euglena1215
4
640
AWS ネットワーク構築でハマった(ハマりかけた) 5選とそこから得た教訓
nagisa53
4
280
私がブラウザを自作したくなった理由
supurazako
1
270
TypeScript入門 2026
recruitengineers
PRO
3
690
Agent 時代の Kaggle 展望 / kaggle-in-the-agentic-era
upura
1
830
FPGAが実現する遠方宇宙の高空間分解能天体撮影 -大型地上望遠鏡の視力を補正する「補償光学」とは?-
komei_mt
0
500
なぜ Temporal の大小比較には compare しかないのか / Why Does Temporal Only Have compare() for Comparisons
kazukihayase
1
160
制約理論(ToC)入門 2026版
recruitengineers
PRO
8
2.6k
20260804_Q4AzureUpdateBite_FabricDataAgentの精度を高める設計.pdf
matayuuu
1
150
Breaking the Seal: Static Deobfuscation of Compiled V8 JavaScript Bytecode Malware
hshrzd
0
870
Head First モブプログラミング / Head First Mobprogramming
takaking22
10
12k
モダンフロントエンド 開発研修
recruitengineers
PRO
4
790
Featured
See All Featured
エンジニアに許された特別な時間の終わり
watany
108
250k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.6k
Ethics towards AI in product and experience design
skipperchong
2
350
Code Review Best Practice
trishagee
74
20k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Typedesign – Prime Four
hannesfritz
42
3.1k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
800
Designing for Performance
lara
611
70k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
45k
The Curse of the Amulet
leimatthew05
2
14k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
420
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
270
Transcript
Grunt.js 1 Automatizace díky Node.js http://gruntjs.com
Grunt.js • Automatizace tasků • Běží v Node.js • Definice
tasků je jediný .js soubor • Ovládá se přes příkazový řádek 2
Ukázka: preprocess LESS a minifikace JS souborů 3
Ukázka: grunt-contrib-watch 4
Ukázka: emailový template 5
Další příklady • Lamelland • Webfonty • JSHint • CSSLint
• Deploy pack • FTP deploy • SVN update 6
Node.js Nainstalujte Node.js (nodejs.org) (*.msi imstalátor) Společně s Node.js se
vám nainstaluje i npm = node package manager 7 npm
Grunt.js (-g označuje globální instalaci) 8 npm install -g grunt-cli
Jak Grunt.js spouštět 9 grunt grunt.registerTask('default', [‘jshint', 'concat', 'uglify']); grunt
less grunt less:release
Package.json 10 npm install grunt-contrib-less --save
Bower Package manager http://bower.io 11
Jak vypadá bower.json 12
Jak spouštět Bower 13 bower install bower update