Upgrade to Pro — share decks privately, control downloads, hide ads and more …

JQuery Plugin Publish

JasonNi
September 06, 2013

JQuery Plugin Publish

JQuery Plugin Publishing Travel

JasonNi

September 06, 2013
Tweet

More Decks by JasonNi

Other Decks in Programming

Transcript

  1. 上架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
  2. 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
  3. 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" } }