GitHub - WordPress/performance: Performance plugin from the WordPress Performanc...
source link: https://github.com/WordPress/performance
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
WordPress Performance
Monorepo for the WordPress Performance Group, primarily for the overall performance plugin, which is a collection of standalone performance modules.
Useful commands
In order to run the following commands, you need to have Node.js (including npm
) and Docker installed, and Docker needs to be up and running. The Docker configuration used relies on the @wordpress/env
package.
npm install
: Installs local development dependencies.npm run wp-env start
: Starts the local development environment.npm run wp-env stop
: Stops the local development environment.npm run lint-php
: Lints all PHP code.npm run format-php
: Formats all PHP code.npm run test-php
: Runs PHPUnit tests for all PHP code.npm run test-php-multisite
: Runs PHPUnit tests in multisite for all PHP code.
Documentation
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK