2015-11-01 03:34:51 +08:00
|
|
|
{
|
|
|
|
"require-dev": {
|
2023-03-12 08:05:01 +08:00
|
|
|
"mediawiki/mediawiki-codesniffer": "41.0.0",
|
2022-11-11 13:44:10 +08:00
|
|
|
"mediawiki/mediawiki-phan-config": "0.12.0",
|
2021-01-31 01:45:58 +08:00
|
|
|
"mediawiki/minus-x": "1.1.1",
|
2022-11-11 13:44:10 +08:00
|
|
|
"php-parallel-lint/php-console-highlighter": "1.0.0",
|
|
|
|
"php-parallel-lint/php-parallel-lint": "1.3.2"
|
2015-11-01 03:34:51 +08:00
|
|
|
},
|
|
|
|
"scripts": {
|
2017-12-20 22:46:53 +08:00
|
|
|
"fix": [
|
2020-01-13 14:05:56 +08:00
|
|
|
"minus-x fix .",
|
|
|
|
"phpcbf"
|
2017-12-20 22:46:53 +08:00
|
|
|
],
|
2015-11-01 03:34:51 +08:00
|
|
|
"test": [
|
2017-06-24 04:05:54 +08:00
|
|
|
"parallel-lint . --exclude node_modules --exclude vendor",
|
2021-09-10 21:29:44 +08:00
|
|
|
"@phpcs",
|
2017-12-20 22:46:53 +08:00
|
|
|
"minus-x check ."
|
2021-01-27 15:09:54 +08:00
|
|
|
],
|
2021-09-10 21:29:44 +08:00
|
|
|
"phan": "phan -d . --long-progress-bar",
|
|
|
|
"phpcs": "phpcs -sp --cache"
|
2015-11-01 03:34:51 +08:00
|
|
|
}
|
|
|
|
}
|