Files
2024-07-15 11:28:08 +02:00

78 lines
2.1 KiB
JSON

{
"name": "johnbillion/query-monitor",
"type": "wordpress-plugin",
"description": "The Developer Tools panel for WordPress.",
"homepage": "https://github.com/johnbillion/query-monitor/",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "John Blackbourn",
"homepage": "https://johnblackbourn.com/"
}
],
"require": {
"php": ">=5.3.6",
"composer/installers": "~1.0"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "0.7.0",
"johnbillion/falsey-assertequals-detector": "^1 || ^3",
"phpcompatibility/phpcompatibility-wp": "2.1.0",
"phpstan/phpstan": "^1.0",
"phpstan/phpstan-phpunit": "^1.0",
"phpunit/phpunit": "^5 || ^7",
"roots/wordpress": "*",
"squizlabs/php_codesniffer": "3.5.8",
"szepeviktor/phpstan-wordpress": "^1.0",
"vlucas/phpdotenv": "^3",
"wp-cli/db-command": "^2",
"wp-coding-standards/wpcs": "2.3.0",
"wp-phpunit/wp-phpunit": "*",
"yoast/phpunit-polyfills": "^1.0"
},
"config": {
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"roots/wordpress-core-installer": true
}
},
"extra": {
"wordpress-install-dir": "tests/wordpress"
},
"scripts": {
"post-update-cmd": [
"@php -r \"! file_exists( 'tests/.env' ) && copy( 'tests/.env.dist', 'tests/.env' );\""
],
"test": [
"@test:cs",
"@test:phpstan",
"@test:ut"
],
"test:cs": [
"phpcs -nps --colors --report-code --report-width=80 --cache=tests/cache/phpcs --basepath='./' ."
],
"test:phpstan": [
"phpstan analyze"
],
"test:ut": [
"wp db reset --yes --path=tests/wordpress #",
"export WP_MULTISITE=0 && phpunit --verbose --colors=always --exclude-group=ms-required",
"export WP_MULTISITE=1 && phpunit --verbose --colors=always --exclude-group=ms-excluded"
]
},
"support": {
"issues": "https://github.com/johnbillion/query-monitor/issues",
"forum": "https://wordpress.org/support/plugin/query-monitor",
"source": "https://github.com/johnbillion/query-monitor"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/johnbillion"
}
]
}