TechLaboratory

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.

Features & Capabilities

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.

Build Status

npm version

Npm Downloads

GitHub license

GitHub Repo

GitHub Sponsor

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.

bash
npx create-jquery-plugin

Or, fast track with default settings, just pass your plugin name.

bash
npx create-jquery-plugin jquery-my-plugin

This 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.