A template for WordPress plugin that extends Gutenberg editor.
- WordPress + Gutenberg
- Node.js
- Composer + PHP 5.3.2 or higher(for Composer)
- webpack + babel: Build JSX + ESNext
- eslint: Lint JavaScript
- PHP_CodeSniffer: Lint PHP
- Download zip
npm install
oryarn
composer install
- Start your awesome project👍
npm run build
for full buildnpm run watch
for iteration of partial build (a.k.a "watch" mode)
npm run lint
for JavaScriptnpm run lint -- --fix
for fixing JavaScript errors./vendor/bin/phpcs
for PHP./vendor/bin/phpcbf
for fixing PHP errors
- Create generator for Gutenberg plugin template(like react-create-app)