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
JQuery Plugin Publish
Search
JasonNi
September 06, 2013
Programming
1
260
JQuery Plugin Publish
JQuery Plugin Publishing Travel
JasonNi
September 06, 2013
Tweet
Share
More Decks by JasonNi
See All by JasonNi
RxDialog
jasonni
3
400
Android UI Design Pattern
jasonni
0
140
Google Mobile Developer Summit Overview
jasonni
1
53
Google Mobile Design Codelab.pdf
jasonni
1
95
Other Decks in Programming
See All in Programming
Scalaから始めるOpenFeature入門 / Scalaわいわい勉強会 #4
arthur1
1
340
Haze - Real time background blurring
chrisbanes
1
520
どうして手を動かすよりもチーム内のコードレビューを優先するべきなのか
okashoi
3
190
Effective Signals in Angular 19+: Rules and Helpers @ngbe2024
manfredsteyer
PRO
0
140
create_tableをしただけなのに〜囚われのuuid編〜
daisukeshinoku
0
270
各クラウドサービスにおける.NETの対応と見解
ymd65536
0
110
range over funcの使い道と非同期N+1リゾルバーの夢 / about a range over func
mackee
0
110
Kaigi on Railsに初参加したら、その日にLT登壇が決定した件について
tama50505
0
100
テストコード文化を0から作り、変化し続けた組織
kazatohiei
2
1.5k
rails statsで大解剖 🔍 “B/43流” のRailsの育て方を歴史とともに振り返ります
shoheimitani
2
940
Webエンジニア主体のモバイルチームの 生産性を高く保つためにやったこと
igreenwood
0
340
Effective Signals in Angular 19+: Rules and Helpers
manfredsteyer
PRO
0
110
Featured
See All Featured
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Keith and Marios Guide to Fast Websites
keithpitt
410
22k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Music & Morning Musume
bryan
46
6.2k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
GitHub's CSS Performance
jonrohan
1030
460k
Why Our Code Smells
bkeepers
PRO
335
57k
Building Better People: How to give real-time feedback that sticks.
wjessup
365
19k
Embracing the Ebb and Flow
colly
84
4.5k
Facilitating Awesome Meetings
lara
50
6.1k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
111
49k
Transcript
JQuery Plugin 上架之旅 JasonNi MiiiCasa
緣起 miiicloud 在選檔案時 要一筆一筆勾選 在做測試時
旅程展開... 花個1小時寫一個來用好了
旅程展開...此時
旅程展開... 這東西 要做就要做最好低 應該要做成 framework 到處都可用 做成 JQuery Plugin 上架到
JQuery 官網好了!
旅程展開...
上架123 官方手冊 JQuery Plugin Publish Reference 1. Create a Github
Repo 2. Add a Post-Receive Hook 3. Add a Manifest 4. Validate Manifest 5. Publish a Version
Create a Github Repo
Add a Post-Receive Hook Github Help: Add a Post-Receive Hook
http://plugins.jquery.com/postreceive-hook
Add a Manifest JQuery Manifest Spec 命名規則: yourplugin.jquery.json Require Fields
• name • version • title • author • licenses • dependencies Optional Fields • description • keywords • homepage • docs • demo • download
Manifest Example { // JSON "name": "rangeselector", "version": "1.0.2", "title":
"jQuery Range Selector", "author": { "name": "Jason Ni", "email": "
[email protected]
", "url": "http://jasonni.github.io" }, "licenses": [ { "type": "MIT", "url": "http://opensource.org/licenses/mit-license.php" } ], "dependencies": { "jquery": ">=1.2.3" } }
Validate Manifest JQuery Plugin Publish - Validate Your Manifest File
Here
Publish a Version { "name": "rangeselector", "version": "1.0.2" …. }
$ git tag 1.0.2 $ git push origin --tags
Finish
航向未來, 夯哥說... 看的到經驗值啊 ! 鼓勵大家寫成 Plugin 方式,有 issue 就送 pull-request
到 Github
None