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 starton the directory. - It will open the project on browser with hot loading enbaled with Browserify.
- Start wrting your code on
srcdirectory.
- Build files will be generated on
distdirectory automatically. - You can change
exampledirectory for examples of your plugin. testdirectory contains test scripts. It uses Jasmine and Karma.
If you like the project please support with your contribution.
Thank you and Happy Coding :)