JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q43394F
  • License GPL-3.0+

A template to be used with `@wordpress/create-block` to create a StorePress extension.

Package Exports

  • @storepress/create-plugin
  • @storepress/create-plugin/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@storepress/create-plugin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@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 --template ./path/to/storepress/create-plugin my-extension-name

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