Packaging jQuery Plugins

From Littledamien Wiki
Jump to navigation Jump to search

Overview

Process for creating, maintaining, and distributing jQuery plugins using GitHub and npm.

Helper tools

Distribution

Marking a release

See Marking Releases With Git

Using plugins in projects

Use npm to fetch the plugin from GitHub, included in in the project, and add it to the project requirements:

$ npm install git+https://git@github.com/northrose/lightboxLink.git --save

The --save parameter updates package.json, adding the package as a dependency of the project.

See also

Internal pages

References

<referemces />