2019-10-01 20:42:11 +03:00
{
"name" : "wordpress/five-for-the-future" ,
"description" : "" ,
"homepage" : "https://wordpress.org/five-for-the-future" ,
"license" : "GPL-2.0-or-later" ,
"support" : {
"issues" : "https://github.com/WordPress/five-for-the-future/issues"
} ,
"config" : {
"platform" : {
2022-07-19 19:33:34 +03:00
"php" : "7.4"
2019-10-01 20:42:11 +03:00
} ,
2019-11-16 00:40:53 +02:00
"vendor-dir" : "mu-plugins/vendor" ,
"_comment" : "Work around `test:watch` timeout, see https://github.com/spatie/phpunit-watcher/issues/63#issuecomment-545633709" ,
2022-08-02 01:27:26 +03:00
"process-timeout" : 0 ,
"allow-plugins" : {
2023-11-03 20:35:16 +02:00
"composer/installers" : true ,
2022-08-02 01:27:26 +03:00
"dealerdirect/phpcodesniffer-composer-installer" : true
2023-11-03 20:35:16 +02:00
} ,
"preferred-install" : {
"wporg/*" : "source"
}
} ,
"extra" : {
"installer-paths" : {
"mu-plugins/{$name}" : [ "wporg/wporg-mu-plugins" ]
2022-08-02 01:27:26 +03:00
}
2019-10-01 20:42:11 +03:00
} ,
2023-11-03 20:35:16 +02:00
"repositories" : [
{
"type" : "vcs" ,
"url" : "git@github.com:WordPress/wporg-mu-plugins.git"
}
] ,
2019-10-01 20:42:11 +03:00
"require" : { } ,
2019-11-16 00:40:53 +02:00
"require-dev" : {
2023-11-03 20:35:16 +02:00
"composer/installers" : "~1.0" ,
"wporg/wporg-mu-plugins" : "dev-build" ,
2020-12-10 19:25:03 +02:00
"dealerdirect/phpcodesniffer-composer-installer" : "^0.7.0" ,
2023-11-04 01:45:09 +02:00
"wp-coding-standards/wpcs" : "3.0.*" ,
2022-07-19 19:33:34 +03:00
"phpunit/phpunit" : "^9" ,
2022-05-04 01:51:42 +03:00
"spatie/phpunit-watcher" : "^1.23" ,
2023-10-19 17:50:31 +03:00
"yoast/phpunit-polyfills" : "^1.1"
2019-10-01 20:42:11 +03:00
} ,
"scripts" : {
2022-04-27 23:30:24 +03:00
"lint" : [
2019-10-01 20:42:11 +03:00
"phpcs --extensions=php -s -p"
] ,
2022-04-27 23:30:24 +03:00
"format" : [
2019-10-01 20:42:11 +03:00
"phpcbf -p"
2019-11-16 00:40:53 +02:00
] ,
"test" : "phpunit" ,
"_comment" : "Input won't work when running this via `composer test:watch`. If you want to use PHPUnit Watcher's interactive options then you'll need to call it directly in your terminal. See https://github.com/composer/composer/issues/5856" ,
2022-09-13 21:34:51 +03:00
"test:watch" : "phpunit-watcher watch" ,
"test:coverage" : "php -d xdebug.mode=coverage ./mu-plugins/vendor/bin/phpunit --coverage-html coverage"
2019-10-01 20:42:11 +03:00
}
}