@storepress/create-plugin-html
v0.1.0
Published
A template to be used with `@wordpress/create-block` to create a StorePress HTML based JS Extension.
Readme
@storepress/create-plugin-html
This is a template for @wordpress/create-block to create StorePress Plugin.
Usage
This template can be used by running the following command:
npx -y @wordpress/create-block@latest --template @storepress/create-plugin-html --no-wp-scripts my-html-extension-name && cd "$_"Navigate to the newly created folder and get started.
npm i && npm run packages-update # Install dependencies and Update package dependency
npm run build # Build the javascript
npx -y http-server # Start ServerDevelopment
For development on this tool itself, you can also install from a local directory.
npx -y @wordpress/create-block@latest --template ./path/to/storepress/create-plugin-html --no-wp-scripts my-html-extension-name && cd "$_"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.
