54 lines
1.3 KiB
JSON
54 lines
1.3 KiB
JSON
{
|
|
"name": "xwp/stream",
|
|
"description": "Track WordPress user and system actions for debugging, logging and compliance purposes",
|
|
"homepage": "https://wordpress.org/plugins/stream/",
|
|
"type": "wordpress-plugin",
|
|
"license": "GPL-2.0-or-later",
|
|
"require": {
|
|
"composer/installers": "~1.0"
|
|
},
|
|
"require-dev": {
|
|
"johnpbloch/wordpress": "^5.4",
|
|
"automattic/vipwpcs": "^2.0.0",
|
|
"php-coveralls/php-coveralls": "^2.1",
|
|
"phpunit/phpunit": "^5.7",
|
|
"wp-cli/wp-cli-bundle": "^2.2",
|
|
"wp-coding-standards/wpcs": "^2.2",
|
|
"wp-phpunit/wp-phpunit": "^5.4",
|
|
"wpsh/local": "^0.2.3"
|
|
},
|
|
"config": {
|
|
"process-timeout": 600,
|
|
"sort-packages": true,
|
|
"platform": {
|
|
"php": "5.6.20"
|
|
}
|
|
},
|
|
"extra": {
|
|
"wordpress-install-dir": "local/public"
|
|
},
|
|
"scripts": {
|
|
"release": [
|
|
"composer install --no-dev --prefer-dist --optimize-autoloader"
|
|
],
|
|
"lint-php": [
|
|
"phpcs ."
|
|
],
|
|
"lint": [
|
|
"@composer validate",
|
|
"@lint-php"
|
|
],
|
|
"test": [
|
|
"phpunit --coverage-text",
|
|
"php local/scripts/make-clover-relative.php ./tests/reports/clover.xml"
|
|
],
|
|
"test-multisite": [
|
|
"WP_MULTISITE=1 phpunit --coverage-text",
|
|
"php local/scripts/make-clover-relative.php ./tests/reports/clover.xml"
|
|
],
|
|
"test-report": [
|
|
"php-coveralls --verbose"
|
|
]
|
|
}
|
|
}
|