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
Yeoman generator
Search
Valerio
May 18, 2016
Programming
0
44
Yeoman generator
A short talk about Yeoman generator
Valerio
May 18, 2016
Tweet
Share
More Decks by Valerio
See All by Valerio
Git flow
valeriocomo
0
62
Other Decks in Programming
See All in Programming
Grafana:建立系統全知視角的捷徑
blueswen
0
330
CSC307 Lecture 03
javiergs
PRO
1
490
「ブロックテーマでは再現できない」は本当か?
inc2734
0
900
AIフル活用時代だからこそ学んでおきたい働き方の心得
shinoyu
0
130
IFSによる形状設計/デモシーンの魅力 @ 慶應大学SFC
gam0022
1
300
カスタマーサクセス業務を変革したヘルススコアの実現と学び
_hummer0724
0
670
Smart Handoff/Pickup ガイド - Claude Code セッション管理
yukiigarashi
0
130
AIエージェント、”どう作るか”で差は出るか? / AI Agents: Does the "How" Make a Difference?
rkaga
4
2k
Basic Architectures
denyspoltorak
0
660
360° Signals in Angular: Signal Forms with SignalStore & Resources @ngLondon 01/2026
manfredsteyer
PRO
0
120
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
680
Honoを使ったリモートMCPサーバでAIツールとの連携を加速させる!
tosuri13
1
170
Featured
See All Featured
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
65
The Limits of Empathy - UXLibs8
cassininazir
1
210
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.3k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.6k
Marketing to machines
jonoalderson
1
4.6k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
110
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
117
110k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
72
jQuery: Nuts, Bolts and Bling
dougneiner
65
8.4k
Scaling GitHub
holman
464
140k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Transcript
Yeoman generator How to create a custom scaffolding tool
About me
Outline • Yeoman • Generators • Yo generator-generator • Demo
• Considerations • Q&A
Yeoman • Scaffolding tool • Task runner • Package management
Yeoman - Yo • Application start up • Build configuration
• Generators
Yeoman - Task runner • Grunt vs Gulp • Automation
• Tasks ◦ Build ◦ Test
Yeoman - Package Managment • bower vs npm ◦ frontend
dependencies ◦ dev dependencies
Generators
Generators • It’s a node module • Setup ◦ package.json
◦ npm init • Customization ◦ override Base class ◦ extends() with a constructor() • Run ◦ npm link ◦ yo generator-name [args]
Yo generator-generator • Install ◦ npm i generator-generator -g •
2 simple commands ◦ yo generator ◦ yo generator:subgenerator <name>
It’s demo time!
Considerations PROs • DRY • Error prevention • Enanhce automation
CONs • Scaffolding-only purpose
Questions?
valeriocomo Thank you!| @valeriocomo
[email protected]
http://www.valeriocomo.com
References • http://yeoman.io/ • http://yeoman.io/authoring/ • https://github.com/yeoman/generator-generator/ • http://goo.gl/5L0wuY