You can use create-jquery-plugin CLI tool to setup the jQuery plugin development setup. Just run
npx create-jquery-plugin
- jQuery (supports jQuery 1.9+, jQuery 2+ and jQuery 3+)
npm install jquery-plugin-boilerplate
yarn add jquery-plugin-boilerplate
- Clone or download this repository.
- Run
npm start
on the directory. - It will open the project on browser with hot loading enbaled with Browserify.
- Start wrting your code on
src
directory.
- Build files will be generated on
dist
directory automatically. - You can change
example
directory for examples of your plugin. test
directory contains test scripts. It uses Jasmine and Karma.
If you like the project please support with your contribution.
Thank you and Happy Coding :)