create-jquery-plugin
CLI for scaffolding modern, production-grade jQuery plugins
Command-line tool for bootstrapping modern jQuery plugin development environments with Rollup, Jasmine, Karma, and SCSS templates.
Explore the features & capabilities
Instant Scaffolding
Instant modern plugin scaffolding with a single command
Preconfigured Bundler
Preconfigured build steps (Rollup, Babel, UMD)
Automated Testing
Automated unit testing setup with Jasmine and Karma
create-jquery-plugin โ
CLI for creating ready-to-start modern jQuery Plugins
create-jquery-plugin is a CLI tool for creating a ready-to-start jQuery plugin development environment with modern configurations. It will create a development environment with a pre-configured build system and you can get started immediately with your plugin development. Also, it is easily customizable that allows you to add or remove any tools or setup. The development setup will include the boilerplate project for the jQuery plugin development, pre-configured gulp tasks for JavaScript transpile, CSS/SCSS building, test/lint scripts, hot loading, example page, readme, etc.
Usage โ
The command will walk you through a few simple prompts and creates a ready-to-start local development setup for your new jQuery plugin.
npx create-jquery-pluginOr, fast track with default settings, just pass your plugin name.
npx create-jquery-plugin jquery-my-pluginThis will create a directory with your plugin name and with all the tools installed.
Features โ
- Easy-to-use CLI
- CSS and SCSS templates
- Creates ready-to-start local development environment
- Unit testing with Jasmine and Karma
Acknowledgements โ
Grateful to the authors and contributors of create-react-library and create-react-app from which this project is inspired. Thankful to the jquery-plugin-boilerplate for providing the project templates. Also, thanks to the authors and contributors of the amazing Node.js tools used in this project.
License โ
Released under the terms of the MIT License. You are free to use on both personal and commercial environment as long as the copyright header is left intact.