nk-crew / lazy-blocks

Use Lazy Blocks plugin to rapidly build custom blocks without ever leaving your WordPress editor
https://www.lazyblocks.com/
GNU General Public License v2.0
337 stars 41 forks source link
blocks custom gutenberg wordpress

Lazy Blocks - Gutenberg blocks visual constructor

Development

Requirements

Prerequisite How to check How to install
PHP >= 5.5.9 php -v php.net
Node.js >= 6.x.x node -v nodejs.org
Composer >= 1.0.0 composer -V getcomposer.org

Installation

Building

Linting

We use pre-commit and pre-push hooks for Git to lint sources with phpcs, eslint and stylelint tasks.

NPM commands to work with linting:

All linters compatible with the modern IDE and code editors.

Testing

We are using the testing solution provided by the Gutenberg team. To get started you need to install Docker. And that's it... All other work will made by wp-env package.

NPM commands to work with testing: