create-wordpress-plugin

1.0.2 • Public • Published

create-wordpress-plugin

NPM CLI tool for generating a WordPress Plugin in the current folder.

Description

Using this CLI tool, you can generate your own WordPress Plugin. Features:-

  • 100% WordPress coding standards maintained.
  • Used by lots of plugins in WordPress.org and Codecanyon.
  • Code watching functionality using Gulp (auto reload if PHP or JS file change).
  • SASS(scss) compilation support.
  • Browsersync Integrated to refresh SASS/CSS without browser reload.
  • Minimal configuration and folder/file structure that anyone can understand.

Installation & Usage

$ npx create-wordpress-plugin

Code Watching & Reload

  • npm install
  • Change the proxy URL in the gulpfile.js to your site URL.
  • Start Gulp by running gulp in the terminal.
  • For creating a production build (plugin zip file with minified javascripts,css) run gulp prod

Dependencies (4)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i create-wordpress-plugin

    Weekly Downloads

    1

    Version

    1.0.2

    License

    ISC

    Unpacked Size

    15.9 kB

    Total Files

    5

    Last publish

    Collaborators

    • mehbubrashid