mirror of
https://ghproxy.net/https://github.com/fairpm/fair-plugin.git
synced 2026-08-05 13:00:26 +08:00
Signed-off-by: Kaspars Dambis <hi@kaspars.net> Signed-off-by: Chuck Adams <chaz@chaz.works> Signed-off-by: Ipstenu (Mika Epstein) <Ipstenu@users.noreply.github.com> Signed-off-by: Carrie Dils <cdils@users.noreply.github.com> Signed-off-by: cdils <cdils@users.noreply.github.com> Co-authored-by: Kaspars Dambis <hi@kaspars.net> Co-authored-by: Namith Jawahar <48271037+namithj@users.noreply.github.com> Co-authored-by: Andy Fragen <andy@thefragens.com> Co-authored-by: Chuck Adams <chaz@chaz.works> Co-authored-by: Colin Stewart <79332690+costdev@users.noreply.github.com> Co-authored-by: Carrie Dils <cdils@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
22 lines
1 KiB
JSON
22 lines
1 KiB
JSON
{
|
|
"devDependencies": {
|
|
"@wordpress/env": "^10.39.0"
|
|
},
|
|
"scripts": {
|
|
"env": "wp-env",
|
|
"cli": "wp-env run cli --env-cwd=wp-content/plugins/plugin",
|
|
"tests:cli": "wp-env run tests-cli --env-cwd=wp-content/plugins/plugin",
|
|
"lint:php": "npm run cli -- composer run lint",
|
|
"lint:php:phpcs": "npm run cli -- composer run lint:phpcs",
|
|
"lint:php:phpstan": "npm run cli -- composer run lint:phpstan",
|
|
"format:php": "npm run cli -- composer run format",
|
|
"format:php:phpcs": "npm run cli -- composer run format:phpcs",
|
|
"format:php:phpstan": "npm run cli -- composer run format:phpstan",
|
|
"test:php:install-deps": "npm run tests:cli -- composer install --ignore-platform-req=ext-gmp",
|
|
"test:php": "npm run tests:cli -- composer run test",
|
|
"test:php:multisite": "npm run tests:cli -- composer run test:multisite",
|
|
"coverage:php:single": "npm run tests:cli -- composer run coverage:single",
|
|
"coverage:php:multisite": "npm run tests:cli -- composer run coverage:multisite",
|
|
"coverage:php:full": "npm run tests:cli -- composer run coverage:full"
|
|
}
|
|
}
|