Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Grunt a Bower
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Jakub Mikulas
February 05, 2014
Technology
55
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
Transcript
13 slides
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
More Decks by Jakub Mikulas
See All by Jakub Mikulas
Vue.js techtalk: Advanced
jackub
0
120
Vue.js techtalk: Introduction
jackub
0
130
Semantic release tech talk
jackub
0
43
Úvod do SVG
jackub
0
580
HTML5 video
jackub
0
210
Other Decks in Technology
See All in Technology
[関西Kaggler会 20261113] 続・コミュニティコンペのススメ
nejumi
0
150
cdkdがどんだけ早いか、実際に動かして見てみよう
smt7174
1
130
異夢同船〜異なる夢でも同じ船でなんとかする〜
fortegp05
1
530
あの日、見つかっていなかったらどうなっていたか
kazzpapa3
2
260
AIエージェントのアーキテクチャ設計
nsatoh
0
100
Re:ゼロから始めるシェアハウスのペットな鯖
silmin_
0
250
AI時代における医療情報システムのセキュリティ / Security of Healthcare IT Systems in the AI Era
henryofficial
0
190
Context parameters で作る!はじめての型クラス
kworkdev
PRO
1
160
さようならSSH鍵、こんにちはゼロトラスト ― AIフレンドリーで快適な自宅鯖SSH
atalie2m
14
7.2k
gem install とrequire のむこうがわ
ydah
0
230
こんなに変わった! AWSネットワークの常識
shotashiratori
16
11k
AIネイティブ組織の作り方。1人のPOとAIから始める、自社での実験
ama_ch
2
1.2k
Featured
See All Featured
Color Theory Basics | Prateek | Gurzu
gurzu
1
530
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
630
A Tale of Four Properties
chriscoyier
163
24k
The SEO identity crisis: Don't let AI make you average
varn
0
630
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Visualization
eitanlees
153
17k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.9k
Typedesign – Prime Four
hannesfritz
42
3.2k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
Are puppies a ranking factor?
jonoalderson
2
4.2k
YesSQL, Process and Tooling at Scale
rocio
174
15k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
3k