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": {
|
2022-07-08 19:38:09 +00:00
|
|
|
"wikimedia/css-sanitizer": "~4.0.0"
|
2017-02-20 04:33:24 +00:00
|
|
|
},
|
2016-04-07 13:08:44 +00:00
|
|
|
"require-dev": {
|
2023-03-11 22:21:22 +00:00
|
|
|
"mediawiki/mediawiki-codesniffer": "41.0.0",
|
2023-04-29 04:15:32 +00:00
|
|
|
"mediawiki/mediawiki-phan-config": "0.12.1",
|
2021-01-30 08:51:56 +00:00
|
|
|
"mediawiki/minus-x": "1.1.1",
|
2022-05-21 08:29:49 +00:00
|
|
|
"php-parallel-lint/php-console-highlighter": "1.0.0",
|
|
|
|
"php-parallel-lint/php-parallel-lint": "1.3.2"
|
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"
|
2016-04-07 13:08:44 +00:00
|
|
|
}
|
|
|
|
}
|