Petra
AI assistant for GrootMade
Hi! I'm Petra 👋 Ask me to help you find the perfect WP plugin, theme, or template kit.
forked from wp-scripts™
BuildFlow is not affiliated with wp-scripts. The name and any related trademarks are used solely for nominative descriptive purposes.
This package provides a set of command-line scripts for developers creating block-based plugins. It bundles pre-configured tools for common development tasks, reducing setup time and ensuring consistency across projects.
Build and Start: Use the build command to create production-ready bundles and the start command for development with live reloading. Both automatically detect entry points from block.json files.
Code Quality: Includes scripts for linting JavaScript (lint-js), CSS (lint-style), and package.json files (lint-pkg-json), as well as a code formatter (format) to enforce consistent style.
Testing: Offers unit testing (test-unit-js) and end-to-end testing (test-e2e, test-playwright) with Jest and browser automation frameworks, configured for serial execution to avoid conflicts.
Project Maintenance: The check-engines script verifies Node.js and npm versions, while packages-update helps keep WordPress dependencies current. The plugin-zip command creates a distributable package.
Customization: While it works with default settings, you can extend configurations, such as the webpack setup, for specific project needs. The tool aims to minimize breaking changes between updates.
Version
Original
Updated