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
責務を分離するための例外設計 - PHPカンファレンス 2024
kajitack
9
2.4k
為你自己學 Python
eddie
0
520
歴史と現在から考えるスケーラブルなソフトウェア開発のプラクティス
i10416
0
300
サーバーゆる勉強会 DBMS の仕組み編
kj455
1
300
知られざるDMMデータエンジニアの生態 〜かつてツチノコと呼ばれし者〜
takaha4k
1
420
ある日突然あなたが管理しているサーバーにDDoSが来たらどうなるでしょう?知ってるようで何も知らなかったDDoS攻撃と対策 #phpcon.2024
akase244
2
7.7k
Stackless и stackful? Корутины и асинхронность в Go
lamodatech
0
1.3k
Beyond ORM
77web
11
1.6k
情報漏洩させないための設計
kubotak
5
1.3k
BEエンジニアがFEの業務をできるようになるまでにやったこと
yoshida_ryushin
0
200
GitHub CopilotでTypeScriptの コード生成するワザップ
starfish719
26
6k
HTML/CSS超絶浅い説明
yuki0329
0
190
Featured
See All Featured
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Building Your Own Lightsaber
phodgson
104
6.2k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.3k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
127
18k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
3
240
The Power of CSS Pseudo Elements
geoffreycrofte
74
5.4k
A better future with KSS
kneath
238
17k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.5k
What's in a price? How to price your products and services
michaelherold
244
12k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
1.2k
Faster Mobile Websites
deanohume
305
30k
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