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
130
Google Mobile Developer Summit Overview
jasonni
1
53
Google Mobile Design Codelab.pdf
jasonni
1
94
Other Decks in Programming
See All in Programming
카카오페이는 어떻게 수천만 결제를 처리할까? 우아한 결제 분산락 노하우
kakao
PRO
0
110
Jakarta EE meets AI
ivargrimstad
0
580
CSC509 Lecture 13
javiergs
PRO
0
110
3rd party scriptでもReactを使いたい! Preact + Reactのハイブリッド開発
righttouch
PRO
1
600
Remix on Hono on Cloudflare Workers
yusukebe
1
290
Streams APIとTCPフロー制御 / Web Streams API and TCP flow control
tasshi
2
350
役立つログに取り組もう
irof
28
9.6k
Why Jakarta EE Matters to Spring - and Vice Versa
ivargrimstad
0
1.1k
ふかぼれ!CSSセレクターモジュール / Fukabore! CSS Selectors Module
petamoriken
0
150
ローコードSaaSのUXを向上させるためのTypeScript
taro28
1
620
Ethereum_.pdf
nekomatu
0
460
Macとオーディオ再生 2024/11/02
yusukeito
0
370
Featured
See All Featured
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
840
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.8k
10 Git Anti Patterns You Should be Aware of
lemiorhan
655
59k
Statistics for Hackers
jakevdp
796
220k
Unsuck your backbone
ammeep
668
57k
Why Our Code Smells
bkeepers
PRO
334
57k
Building Better People: How to give real-time feedback that sticks.
wjessup
364
19k
KATA
mclloyd
29
14k
Mobile First: as difficult as doing things right
swwweet
222
8.9k
Six Lessons from altMBA
skipperchong
27
3.5k
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