2017-07-17 19:49:49 +00:00
|
|
|
{
|
|
|
|
"require-dev": {
|
2024-11-02 05:58:57 +00:00
|
|
|
"mediawiki/mediawiki-codesniffer": "45.0.0",
|
2024-12-14 05:17:26 +00:00
|
|
|
"mediawiki/mediawiki-phan-config": "0.15.0",
|
2024-05-05 11:30:38 +00:00
|
|
|
"mediawiki/minus-x": "1.1.3",
|
2022-05-21 12:18:57 +00:00
|
|
|
"php-parallel-lint/php-console-highlighter": "1.0.0",
|
2024-04-23 13:44:37 +00:00
|
|
|
"php-parallel-lint/php-parallel-lint": "1.4.0"
|
2017-07-17 19:49:49 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"test": [
|
2017-11-02 16:53:18 +00:00
|
|
|
"parallel-lint . --exclude vendor --exclude node_modules",
|
2021-09-10 13:26:28 +00:00
|
|
|
"@phpcs",
|
2017-12-16 09:08:31 +00:00
|
|
|
"minus-x check ."
|
2017-07-17 19:49:49 +00:00
|
|
|
],
|
|
|
|
"fix": [
|
2020-06-12 11:31:16 +00:00
|
|
|
"minus-x fix .",
|
|
|
|
"phpcbf"
|
2021-01-09 05:05:56 +00:00
|
|
|
],
|
2023-02-10 20:59:35 +00:00
|
|
|
"test:size": "php ../../vendor/phpunit/phpunit/phpunit -c ../../phpunit.xml.dist tests/phpunit/structure/BundleSizeTest.php",
|
2021-09-10 13:26:28 +00:00
|
|
|
"phan": "phan -d . --long-progress-bar",
|
|
|
|
"phpcs": "phpcs -sp --cache"
|
2024-03-10 23:28:35 +00:00
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"allow-plugins": {
|
|
|
|
"dealerdirect/phpcodesniffer-composer-installer": true
|
|
|
|
}
|
2017-07-17 19:49:49 +00:00
|
|
|
}
|
|
|
|
}
|