mirror of
https://gh.wpcy.net/https://github.com/fairpm/fair-plugin.git
synced 2026-06-10 01:04:28 +08:00
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by: John Blackbourn <john@johnblackbourn.com> Signed-off-by: Andy Fragen <andy@thefragens.com> Signed-off-by: Carrie Dils <carriedils@gmail.com> Signed-off-by: Norcross <andrew.norcross@gmail.com> Signed-off-by: joedolson <joedolson@users.noreply.github.com> Signed-off-by: Joe Dolson <design@joedolson.com> Signed-off-by: Shadi Sharaf <shady@sharaf.me> Signed-off-by: Chuck Adams <chaz@chaz.works> Signed-off-by: Carrie Dils <cdils@users.noreply.github.com> Signed-off-by: Mika Ipstenu Epstein <ipstenu@halfelf.org> Signed-off-by: Ipstenu (Mika Epstein) <Ipstenu@users.noreply.github.com> Signed-off-by: Mika <ipstenu@halfelf.org> Signed-off-by: Mika Epstein <ipstenu@halfelf.org> Signed-off-by: Marc Armengou <83702259+marcarmengou@users.noreply.github.com> Signed-off-by: Namith Jawahar <48271037+namithj@users.noreply.github.com> Signed-off-by: Chris Reynolds <chris@jazzsequence.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: cdils <3099408+cdils@users.noreply.github.com> Co-authored-by: Chuck Adams <chaz@chaz.works> Co-authored-by: John Blackbourn <john@johnblackbourn.com> Co-authored-by: Andy Fragen <andy@thefragens.com> Co-authored-by: Norcross <andrew.norcross@gmail.com> Co-authored-by: rmccue <21655+rmccue@users.noreply.github.com> Co-authored-by: joedolson <joedolson@users.noreply.github.com> Co-authored-by: Joe Dolson <design@joedolson.com> Co-authored-by: Shady Sharaf <shady@sharaf.me> Co-authored-by: Mika Ipstenu Epstein <ipstenu@halfelf.org> Co-authored-by: Ipstenu (Mika Epstein) <Ipstenu@users.noreply.github.com> Co-authored-by: Marc Armengou <83702259+marcarmengou@users.noreply.github.com> Co-authored-by: Namith Jawahar <48271037+namithj@users.noreply.github.com> Co-authored-by: Kaspars Dambis <hi@kaspars.net> Co-authored-by: Chris Reynolds <chris@jazzsequence.com>
85 lines
2.9 KiB
JSON
85 lines
2.9 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": ">=8.0",
|
|
"fairpm/did-manager-wordpress": "0.0.4-a"
|
|
},
|
|
"require-dev": {
|
|
"yoast/phpunit-polyfills": "*",
|
|
"nimut/phpunit-merger": "*",
|
|
"humanmade/coding-standards": "^1.2",
|
|
"szepeviktor/phpstan-wordpress": "^2.0"
|
|
},
|
|
"config": {
|
|
"allow-plugins": {
|
|
"dealerdirect/phpcodesniffer-composer-installer": true
|
|
}
|
|
},
|
|
"scripts": {
|
|
"lint:phpcs": "phpcs . --warning-severity=0",
|
|
"lint:phpstan": "phpstan analyse --verbose --memory-limit=2G",
|
|
"lint": [
|
|
"@lint:phpcs",
|
|
"@lint:phpstan"
|
|
],
|
|
"format:phpcs": "phpcbf .",
|
|
"format:phpstan": "phpstan analyse --fix --memory-limit=2G",
|
|
"format": [
|
|
"@format:phpcs",
|
|
"@format:phpstan"
|
|
],
|
|
"phpstan-baseline": "phpstan analyse --generate-baseline=tests/phpstan-baseline.neon --memory-limit=2G",
|
|
"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"
|
|
}
|
|
}
|