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
270
JQuery Plugin Publish
JQuery Plugin Publishing Travel
JasonNi
September 06, 2013
Tweet
Share
More Decks by JasonNi
See All by JasonNi
RxDialog
jasonni
3
420
Android UI Design Pattern
jasonni
0
150
Google Mobile Developer Summit Overview
jasonni
1
58
Google Mobile Design Codelab.pdf
jasonni
1
110
Other Decks in Programming
See All in Programming
[堅牢.py #1] テストを書かない研究者に送る、最初にテストを書く実験コード入門 / Let's start your ML project by writing tests
shunk031
11
5.7k
FlutterKaigi 2025 システム裏側
yumnumm
0
1.2k
CSC509 Lecture 13
javiergs
PRO
0
260
詳細の決定を遅らせつつ実装を早くする
shimabox
2
1.3k
AI 時代だからこそ抑えたい「価値のある」PHP ユニットテストを書く技術 #phpconfuk / phpcon-fukuoka-2025
shogogg
1
580
connect-python: convenient protobuf RPC for Python
anuraaga
0
220
Vueで学ぶデータ構造入門 リンクリストとキューでリアクティビティを捉える / Vue Data Structures: Linked Lists and Queues for Reactivity
konkarin
1
340
Microservices Platforms: When Team Topologies Meets Microservices Patterns
cer
PRO
0
480
OSS開発者の憂鬱
yusukebe
12
6k
Chart.jsで長い項目を表示するときのハマりどころ
yumechi
0
150
AWS CDKの推しポイントN選
akihisaikeda
1
170
高単価案件で働くための心構え
nullnull
0
160
Featured
See All Featured
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
It's Worth the Effort
3n
187
29k
Git: the NoSQL Database
bkeepers
PRO
432
66k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3k
Building Applications with DynamoDB
mza
96
6.8k
Rebuilding a faster, lazier Slack
samanthasiow
84
9.3k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.8k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Documentation Writing (for coders)
carmenintech
76
5.1k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
31
2.7k
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