fair-plugin/composer.json
philipjohn f13a5f6dd2
Add some contact info to composer.json (#119)
Signed-off-by: Philip John <phil@philipjohn.me.uk>
Signed-off-by: Joe Dolson <design@joedolson.com>
Co-authored-by: Joe Dolson <design@joedolson.com>
Co-authored-by: Colin Stewart <79332690+costdev@users.noreply.github.com>
2025-09-23 17:13:03 -05:00

73 lines
2.4 KiB
JSON

{
"name": "fairpm/fair-plugin",
"description": "Make your site more FAIR.",
"type": "wordpress-plugin",
"license": "gpl-2.0-only",
"authors": [
{
"name": "FAIR Contributors",
"email": "operations@fair.pm",
"homepage": "https://fair.pm"
}
],
"require": {
"php": ">=7.4"
},
"require-dev": {
"yoast/phpunit-polyfills": "*",
"nimut/phpunit-merger": "*",
"humanmade/coding-standards": "^1.2"
},
"config": {
"lock": false,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"lint": "@php ./vendor/bin/phpcs .",
"format": "@php ./vendor/bin/phpcbf .",
"test": [
"Composer\\Config::disableProcessTimeout",
"@php ./vendor/phpunit/phpunit/phpunit"
],
"test:multisite": [
"Composer\\Config::disableProcessTimeout",
"@php ./vendor/phpunit/phpunit/phpunit -c tests/phpunit/multisite.xml"
],
"coverage:merge": [
"Composer\\Config::disableProcessTimeout",
"@putenv XDEBUG_MODE=coverage",
"@php ./vendor/bin/phpunit-merger coverage tests/phpunit/coverage/php --html tests/phpunit/coverage/html/full tests/phpunit/cache/full-cache.xml"
],
"coverage:single": [
"Composer\\Config::disableProcessTimeout",
"@putenv XDEBUG_MODE=off",
"@putenv WP_TESTS_SKIP_INSTALL=0",
"@test --filter prime_test_suite",
"@putenv XDEBUG_MODE=coverage",
"@putenv WP_TESTS_SKIP_INSTALL=1",
"@test"
],
"coverage:multisite": [
"Composer\\Config::disableProcessTimeout",
"@putenv XDEBUG_MODE=off",
"@putenv WP_TESTS_SKIP_INSTALL=0",
"@test:multisite --filter prime_test_suite",
"@putenv XDEBUG_MODE=coverage",
"@putenv WP_TESTS_SKIP_INSTALL=1",
"@test:multisite"
],
"coverage:full": [
"Composer\\Config::disableProcessTimeout",
"@coverage:single",
"@coverage:multisite",
"@coverage:merge"
]
},
"support": {
"issues": "https://github.com/fairpm/fair-plugin/issues",
"source": "https://github.com/fairpm/fair-plugin",
"docs": "https://github.com/fairpm/fair-plugin/blob/main/README.md"
}
}