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" : {
2024-08-27 00:43:31 +03:00
"mu-plugins/{$name}/" : [ "type:wordpress-muplugin" ] ,
"plugins/{$name}/" : [ "type:wordpress-plugin" ] ,
"themes/{$name}/" : [ "type:wordpress-theme" ]
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" : [
2024-08-27 00:43:31 +03:00
{
"type" : "composer" ,
"url" : "https://wpackagist.org/"
} ,
2023-11-03 20:35:16 +02:00
{
"type" : "vcs" ,
"url" : "git@github.com:WordPress/wporg-mu-plugins.git"
2024-08-27 00:43:31 +03:00
} ,
{
"type" : "vcs" ,
"url" : "git@github.com:WordPress/wporg-parent-2021.git"
} ,
{
"type" : "package" ,
"package" : [
{
"name" : "wordpress-meta/pub" ,
"type" : "wordpress-muplugin" ,
"version" : "1" ,
"source" : {
"type" : "svn" ,
"url" : "https://meta.svn.wordpress.org/sites/" ,
"reference" : "trunk/wordpress.org/public_html/wp-content/mu-plugins/pub/"
}
} ,
{
"name" : "wordpress-meta/handbook" ,
"type" : "wordpress-plugin" ,
"version" : "2" ,
"source" : {
"type" : "svn" ,
"url" : "https://meta.svn.wordpress.org/sites/" ,
"reference" : "trunk/wordpress.org/public_html/wp-content/plugins/handbook/"
}
}
]
2023-11-03 20:35:16 +02:00
}
] ,
2019-11-16 00:40:53 +02:00
"require-dev" : {
2023-11-03 20:35:16 +02:00
"composer/installers" : "~1.0" ,
2020-12-10 19:25:03 +02:00
"dealerdirect/phpcodesniffer-composer-installer" : "^0.7.0" ,
2024-08-27 00:43:31 +03:00
"phpcompatibility/phpcompatibility-wp" : "*" ,
2022-07-19 19:33:34 +03:00
"phpunit/phpunit" : "^9" ,
2022-05-04 01:51:42 +03:00
"spatie/phpunit-watcher" : "^1.23" ,
2024-08-27 00:43:31 +03:00
"wp-coding-standards/wpcs" : "3.0.*" ,
"wordpress-meta/pub" : "1" ,
"wordpress-meta/handbook" : "2" ,
"wpackagist-plugin/gutenberg" : "*" ,
2024-08-28 04:36:01 +03:00
"wpackagist-plugin/jetpack" : "*" ,
2024-08-27 00:43:31 +03:00
"wpackagist-plugin/wordpress-importer" : "*" ,
"wporg/wporg-mu-plugins" : "dev-build" ,
"wporg/wporg-parent-2021" : "dev-build" ,
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
}
}