Wordpress Plugin Generator
Create a new wordpress plugin in seconds using GruntJS.
First Time Setup
If you don't have NodeJS and grunt already installed on your PC then follow these instructions, otherwise proceed to next section.
Install GruntJS by typing the following command:
npm install -g grunt-cli
- Run the following command in the repository root directory to install all the required grunt plugins:
This setup is required only once.
Generating Wordpress Plugin
- Duplicate file
- Fill in values in
build.json. You should at-least give the values for "plugin-name", "author-name", "author-email"
- Type the following in the repository root directory:
A directory named dist would be created and would have the generated code for your wordpress plugin.