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
frontend-shikoku#1
Search
KamataRyo
May 16, 2018
Technology
1
670
frontend-shikoku#1
第1回フロントエンド四国のLTスライド
KamataRyo
May 16, 2018
Tweet
Share
More Decks by KamataRyo
See All by KamataRyo
TileCloud の開発を支える技術
kamataryo
2
350
NPX-shell-hacking
kamataryo
0
44
Introducing of Map Warper
kamataryo
0
1.3k
wp-rest-api-and-amazon-polly
kamataryo
0
910
how-to-deploy-from-travis-ci
kamataryo
1
740
IoT with React
kamataryo
1
270
wacker#17-wreact
kamataryo
0
130
wakayamarb#37
kamataryo
1
87
Why have I preferred open source after leaving a public office?
kamataryo
1
5.9k
Other Decks in Technology
See All in Technology
IBC 2024 動画技術関連レポート / IBC 2024 Report
cyberagentdevelopers
PRO
1
110
20241120_JAWS_東京_ランチタイムLT#17_AWS認定全冠の先へ
tsumita
2
300
エンジニア人生の拡張性を高める 「探索型キャリア設計」の提案
tenshoku_draft
1
130
【Startup CTO of the Year 2024 / Audience Award】アセンド取締役CTO 丹羽健
niwatakeru
0
1.3k
マルチプロダクトな開発組織で 「開発生産性」に向き合うために試みたこと / Improving Multi-Product Dev Productivity
sugamasao
1
310
組織成長を加速させるオンボーディングの取り組み
sudoakiy
2
220
なぜ今 AI Agent なのか _近藤憲児
kenjikondobai
4
1.4k
rootlessコンテナのすゝめ - 研究室サーバーでもできる安全なコンテナ管理
kitsuya0828
3
390
OCI Security サービス 概要
oracle4engineer
PRO
0
6.5k
Amazon CloudWatch Network Monitor のススメ
yuki_ink
1
210
AWS Lambdaと歩んだ“サーバーレス”と今後 #lambda_10years
yoshidashingo
1
180
生成AIが変えるデータ分析の全体像
ishikawa_satoru
0
170
Featured
See All Featured
Producing Creativity
orderedlist
PRO
341
39k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
131
33k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
Site-Speed That Sticks
csswizardry
0
28
Optimizing for Happiness
mojombo
376
70k
Agile that works and the tools we love
rasmusluckow
327
21k
Automating Front-end Workflow
addyosmani
1366
200k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
[RailsConf 2023] Rails as a piece of cake
palkan
52
4.9k
The Pragmatic Product Professional
lauravandoore
31
6.3k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
840
Transcript
OQYίϚϯυͰ࣮ߦ͢Δ )FMMPϞδϡʔϧΛ࡞Ζ͏ʂ
XFCϑϩϯτΤϯυ։ൃڥͷத֩Λͳ͢ͷ
None
+BWB4DSJQUͷτϥϯεύΠϧɾόϯυϧ JavaScript (ES6 source) React Component (ES6 source, JSX) JavaScript
(ES6 module) JavaScript (CommonJS module) JavaScript (ES5 distribution) Bundler (Browserify) Transpiler (Babel) /PEFKTͷ+BWB4DSJQUϥϯλΠϜΛͬͯ λεΫ͕ॲཧ͞ΕΔ
/PEFKTΛΞοϓσʔτ͠·͔ͨ͠ʁ /PEFKTͷϦϦʔεεέδϡʔϧ IUUQTHJUIVCDPNOPEFKT3FMFBTFSFMFBTFTDIFEVMF
OQNW /PEFKTWҎ߱ ʹಉࠝ͞ΕΔ ศརίϚϯυ $ npx
OQNͰࣗݾհϞδϡʔϧΛ ࡞Δͷ͕ྲྀߦ͍ͬͯΔΈ͍ͨ ൃΈΜͳେ͖4JOESF IUUQTUXJUUFSDPNTJOESFTPSIVTTUBUVT
w /PEFͷW͕ਪ൛-54ʹͳͬͨ͜ͱ w ΈΜͳ͕OQYίϚϯυΛ͑Δͣ ྲྀߦͷཧ༝ʁ
࡞ͬͨ $ npx kamataryo
None
ҾऔΕΔ $ npx kamataryo github
None
࣮࣭ߦ͘Β͍ͷ+BWB4DSJQU IUUQTHJUIVCDPNLBNBUBSZPLBNBUBSZP
େ·͔ͳ࡞खॱ ࣗݾհΛඪ४ग़ྗʹు͘+BWB4DSJQUΛॻ͘ QBDLBHFKTPOͰΤϯτϦϙΠϯτʹࢦఆ͢Δ { "bin": { "kamataryo": "./src/cli"
} } ࣮ߦՄೳʹ͢Δ $ chmod +x ./src/cli όʔδϣϯཧ $ npm version patch # バージョンx.y.zのzをインクリメントする OQNKTDPN ʹαΠϯΞοϓͯ͠ɺ։ൃϚγϯͰϩάΠϯ $ npm login 公開する $ npm publish /PEFύοέʔδͷ࡞ೖʹ࠷ద͔
)FMMPϞδϡʔϧΛ࡞Δ͜ͱͰಘΒΕΔͷ w OQNΛͬͨϫʔΫϑϩʔΛΔ͜ͱ͕Ͱ͖Δ w ʢ4JOESFͷҒେ͞ʣ XFCϑϩϯτΤϯυͷ։ൃʹ͔ܽͤͳ͘ͳͬͨ/PEFKT )FMMPϞδϡʔϧΛ࡞ͬͯɺ /PEFKTͷΤίγεςϜΛࢧ͑ΔOQNͷੈքʹ৮ΕͯΈΑ͏ʂ