@storepress/create-plugin

0.0.17 • Public • Published

@storepress/create-plugin

This is a template for @wordpress/create-block to create StorePress Plugin.

Usage

This template can be used by running the following command:

npx @wordpress/create-block@latest --template @storepress/create-plugin my-extension-name

Navigate to the newly created folder and get started.

cd my-extension-name
git init                 # Init git
npm install              # Install dependencies
npm run build            # Build the javascript
npx @wp-now/wp-now start # Start Wordpress environment

Development

For development on this tool itself, you can also install from a local directory.

npx @wordpress/create-block@latest --template ./path/to/storepress/create-plugin my-extension-name

Add Tests

Please check Base Plugin to add test and others.

This is a template to used with @wordpress/create-block to create a StorePress Plugin starting point.

Package Sidebar

Install

npm i @storepress/create-plugin

Weekly Downloads

0

Version

0.0.17

License

GPL-3.0+

Unpacked Size

71.6 kB

Total Files

53

Last publish

Collaborators

  • emran