2023-01-18 16:40:00 +00:00
|
|
|
{
|
|
|
|
"name": "automattic/jetpack-waf",
|
|
|
|
"description": "Tools to assist with the Jetpack Web Application Firewall",
|
|
|
|
"type": "jetpack-library",
|
|
|
|
"license": "GPL-2.0-or-later",
|
|
|
|
"require": {
|
2024-02-08 12:31:43 +00:00
|
|
|
"php": ">=7.0",
|
2024-04-19 10:49:36 +00:00
|
|
|
"automattic/jetpack-connection": "^2.4.1",
|
|
|
|
"automattic/jetpack-constants": "^2.0.1",
|
|
|
|
"automattic/jetpack-ip": "^0.2.2",
|
|
|
|
"automattic/jetpack-status": "^2.1.2",
|
2023-01-18 16:40:00 +00:00
|
|
|
"wikimedia/aho-corasick": "^1.0"
|
|
|
|
},
|
|
|
|
"require-dev": {
|
2023-10-22 22:21:06 +00:00
|
|
|
"yoast/phpunit-polyfills": "1.1.0",
|
2024-04-19 10:49:36 +00:00
|
|
|
"automattic/jetpack-changelogger": "^4.1.1",
|
2023-03-17 22:34:13 +00:00
|
|
|
"automattic/wordbless": "@dev"
|
2023-01-18 16:40:00 +00:00
|
|
|
},
|
2023-06-05 11:21:22 +00:00
|
|
|
"suggest": {
|
|
|
|
"automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package."
|
|
|
|
},
|
2023-01-18 16:40:00 +00:00
|
|
|
"autoload": {
|
|
|
|
"files": [
|
|
|
|
"cli.php"
|
|
|
|
],
|
|
|
|
"classmap": [
|
|
|
|
"src/"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"phpunit": [
|
2023-03-17 22:34:13 +00:00
|
|
|
"./vendor/phpunit/phpunit/phpunit --configuration tests/php/integration/phpunit.xml.dist --colors=always",
|
|
|
|
"./vendor/phpunit/phpunit/phpunit --configuration tests/php/unit/phpunit.xml.dist --colors=always"
|
2023-01-18 16:40:00 +00:00
|
|
|
],
|
2023-03-17 22:34:13 +00:00
|
|
|
"post-install-cmd": "WorDBless\\Composer\\InstallDropin::copy",
|
|
|
|
"post-update-cmd": "WorDBless\\Composer\\InstallDropin::copy",
|
2023-01-18 16:40:00 +00:00
|
|
|
"test-coverage-html": [
|
2023-03-17 22:34:13 +00:00
|
|
|
"php -dpcov.directory=. ./vendor/bin/phpunit --coverage-html ./coverage --configuration tests/php/integration/phpunit.xml.dist",
|
|
|
|
"php -dpcov.directory=. ./vendor/bin/phpunit --coverage-html ./coverage --configuration tests/php/unit/phpunit.xml.dist"
|
2023-01-18 16:40:00 +00:00
|
|
|
],
|
|
|
|
"test-php": [
|
|
|
|
"@composer phpunit"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"minimum-stability": "dev",
|
|
|
|
"prefer-stable": true,
|
|
|
|
"extra": {
|
|
|
|
"autotagger": true,
|
|
|
|
"mirror-repo": "Automattic/jetpack-waf",
|
|
|
|
"textdomain": "jetpack-waf",
|
|
|
|
"changelogger": {
|
|
|
|
"link-template": "https://github.com/Automattic/jetpack-waf/compare/v${old}...v${new}"
|
|
|
|
},
|
|
|
|
"branch-alias": {
|
2024-04-19 10:49:36 +00:00
|
|
|
"dev-trunk": "0.16.x-dev"
|
2023-03-17 22:34:13 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"allow-plugins": {
|
|
|
|
"roots/wordpress-core-installer": true
|
2023-01-18 16:40:00 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|