This is a AnsPress extension base code generator grunt template. You can use this template to generate source codes of AnsPress extension. Simply answer the questions when prompted and your extension will be built by grunt.
NOTE: This is not a AnsPress extension but it is a AnsPress extension generator, it means you can't use this project file directly in WordPress
If you haven't already done so, install grunt-init:
npm install -g grunt-init
Once grunt-init is installed, place this template in your ~/.grunt-init/
directory. It's recommended that you use git to clone this template into that directory, as follows:
git clone git@github.com:wp3/anspress-boilerplate-extension.git ~/.grunt-init/anspress-boilerplate-extension
git clone git@github.com:wp3/anspress-boilerplate-extension.git %USERPROFILE%/.grunt-init/anspress-boilerplate-extension
- At the command-line, create a new directory in wp-content/plugins
- cd into an empty directory
- run the following command and follow the prompts
grunt-init anspress-boilerplate-extension
Have question ? feel free to ask here: http://anspress.io/questions/ask/
Most of this is copied from grunt-wp-plugin by 10up, so thanks to them!