You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Roman Axelrod 92e4f1ea2d version upgrade 10 months ago
layouts Ask if user wants to download latest version of block on lunch of the devTool. 2 years ago
platforms Pass $args parameter to `content` hook. 10 months ago
.editorconfig Update spacings/code-format of PHP bundle. 3 years ago
.gitignore All development block files moved to `blocks` directory. 3 years ago
README.md Added the logic of wrapper + responsiveness controllers. 4 years ago
build.js Updated the bundle of WordPress block. 2 years ago
debug.js Add "info" command to get information about the local env. 3 years ago
env.js - Added notes for future tests. 3 years ago
helpers.js fix windows archive issue 2 years ago
package-lock.json version upgrade 10 months ago
package.json version upgrade 10 months ago
rollup.config.js Ask if user wants to download latest version of block on lunch of the devTool. 2 years ago
server.js Temporary disabled ngrok (share live URL option) 2 years ago
test.js - Added notes for future tests. 3 years ago

README.md

Create Block - Development Tool

This project used as:

  1. Block generator
  2. Development Environment

Block Generator

To create/generate new block by template use:

npm run generate-block

The /blocks folder will be generated. Then you can run npm install, npm start to launch the development environment.

Development Environment

Generated blocks are including this repository.
This project is running a nodejs script with browsersync and gulp which improves the development process.

Development / Testing the tool

Run npm run generate-block command and give the development name to the block, it will generate the /blocks folder.

Copy the /development/data and /development/src folders to root folder of project. Now you're ready to run development process: npm run dev.