63 lines
1.8 KiB
JSON
63 lines
1.8 KiB
JSON
{
|
|
"name": "automattic/jetpack-waf",
|
|
"description": "Tools to assist with the Jetpack Web Application Firewall",
|
|
"type": "jetpack-library",
|
|
"license": "GPL-2.0-or-later",
|
|
"require": {
|
|
"automattic/jetpack-connection": "^1.58.1",
|
|
"automattic/jetpack-constants": "^1.6.23",
|
|
"automattic/jetpack-ip": "^0.1.6",
|
|
"automattic/jetpack-status": "^1.18.5",
|
|
"wikimedia/aho-corasick": "^1.0"
|
|
},
|
|
"require-dev": {
|
|
"yoast/phpunit-polyfills": "1.1.0",
|
|
"automattic/jetpack-changelogger": "^3.3.11",
|
|
"automattic/wordbless": "@dev"
|
|
},
|
|
"suggest": {
|
|
"automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package."
|
|
},
|
|
"autoload": {
|
|
"files": [
|
|
"cli.php"
|
|
],
|
|
"classmap": [
|
|
"src/"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"phpunit": [
|
|
"./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"
|
|
],
|
|
"post-install-cmd": "WorDBless\\Composer\\InstallDropin::copy",
|
|
"post-update-cmd": "WorDBless\\Composer\\InstallDropin::copy",
|
|
"test-coverage-html": [
|
|
"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"
|
|
],
|
|
"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": {
|
|
"dev-trunk": "0.11.x-dev"
|
|
}
|
|
},
|
|
"config": {
|
|
"allow-plugins": {
|
|
"roots/wordpress-core-installer": true
|
|
}
|
|
}
|
|
}
|