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 4a7ddf7d29 Updated the bundle of WordPress block. 2 years ago
layouts Ask if user wants to download latest version of block on lunch of the devTool. 2 years ago
platforms Updated the bundle of WordPress block. 2 years 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. 3 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 Merge branch 'master' into dev 2 years ago
package.json Updated the bundle of WordPress block. 2 years ago
rollup.config.js Ask if user wants to download latest version of block on lunch of the devTool. 2 years ago
server.js Make sure we sync versions after each Publish action. 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.