mirror of
https://ghproxy.net/https://github.com/fairpm/fair-plugin.git
synced 2026-08-06 13:10:27 +08:00
21 lines
1.4 KiB
JSON
21 lines
1.4 KiB
JSON
{
|
|
"devDependencies": {
|
|
"@wordpress/env": "^10.22.0"
|
|
},
|
|
"scripts": {
|
|
"env": "wp-env",
|
|
"cli": "wp-env run cli --env-cwd=wp-content/plugins/plugin",
|
|
"lint:php": "wp-env run cli --env-cwd=wp-content/plugins/plugin composer run lint",
|
|
"lint:php:phpcs": "wp-env run cli --env-cwd=wp-content/plugins/plugin composer run lint:phpcs",
|
|
"lint:php:phpstan": "wp-env run cli --env-cwd=wp-content/plugins/plugin composer run lint:phpstan",
|
|
"format:php": "wp-env run cli --env-cwd=wp-content/plugins/plugin composer run format",
|
|
"format:php:phpcs": "wp-env run cli --env-cwd=wp-content/plugins/plugin composer run format:phpcs",
|
|
"format:php:phpstan": "wp-env run cli --env-cwd=wp-content/plugins/plugin composer run format:phpstan",
|
|
"test:php:install-deps": "wp-env run tests-cli --env-cwd=wp-content/plugins/plugin composer install",
|
|
"test:php": "wp-env run tests-cli --env-cwd=wp-content/plugins/plugin composer run test",
|
|
"test:php:multisite": "wp-env run tests-cli --env-cwd=wp-content/plugins/plugin composer run test:multisite",
|
|
"coverage:php:single": "wp-env run tests-cli --env-cwd=wp-content/plugins/plugin composer run coverage:single",
|
|
"coverage:php:multisite": "wp-env run tests-cli --env-cwd=wp-content/plugins/plugin composer run coverage:multisite",
|
|
"coverage:php:full": "wp-env run tests-cli --env-cwd=wp-content/plugins/plugin composer run coverage:full"
|
|
}
|
|
}
|