2016-04-07 13:08:44 +00:00
|
|
|
{
|
2018-03-02 23:43:40 +00:00
|
|
|
"license": "GPL-2.0-or-later",
|
2017-02-20 04:33:24 +00:00
|
|
|
"require": {
|
2024-10-30 16:00:43 +00:00
|
|
|
"wikimedia/css-sanitizer": "^5.4.0"
|
2017-02-20 04:33:24 +00:00
|
|
|
},
|
2016-04-07 13:08:44 +00:00
|
|
|
"require-dev": {
|
2024-11-02 03:59:51 +00:00
|
|
|
"mediawiki/mediawiki-codesniffer": "45.0.0",
|
2024-02-10 13:13:19 +00:00
|
|
|
"mediawiki/mediawiki-phan-config": "0.14.0",
|
2024-05-06 03:15:14 +00:00
|
|
|
"mediawiki/minus-x": "1.1.3",
|
2022-05-21 08:29:49 +00:00
|
|
|
"php-parallel-lint/php-console-highlighter": "1.0.0",
|
2024-05-06 03:15:14 +00:00
|
|
|
"php-parallel-lint/php-parallel-lint": "1.4.0"
|
2016-04-07 13:08:44 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
2017-11-04 02:50:33 +00:00
|
|
|
"fix": [
|
2020-01-14 12:48:18 +00:00
|
|
|
"minus-x fix .",
|
|
|
|
"phpcbf"
|
2017-11-04 02:50:33 +00:00
|
|
|
],
|
2016-04-07 13:08:44 +00:00
|
|
|
"test": [
|
2017-11-11 23:39:13 +00:00
|
|
|
"parallel-lint . --exclude vendor --exclude node_modules",
|
2021-10-08 03:40:51 +00:00
|
|
|
"@phpcs",
|
2017-11-04 02:50:33 +00:00
|
|
|
"minus-x check ."
|
2021-01-30 08:51:56 +00:00
|
|
|
],
|
2021-10-08 03:40:51 +00:00
|
|
|
"phan": "phan -d . --long-progress-bar",
|
|
|
|
"phpcs": "phpcs -sp --cache"
|
2024-03-18 01:27:08 +00:00
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"allow-plugins": {
|
|
|
|
"dealerdirect/phpcodesniffer-composer-installer": true
|
|
|
|
}
|
2016-04-07 13:08:44 +00:00
|
|
|
}
|
|
|
|
}
|