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": {
|
2021-01-08 03:11:35 +00:00
|
|
|
"wikimedia/css-sanitizer": "~3.0.0"
|
2017-02-20 04:33:24 +00:00
|
|
|
},
|
2016-04-07 13:08:44 +00:00
|
|
|
"require-dev": {
|
2021-10-23 23:24:32 +00:00
|
|
|
"mediawiki/mediawiki-codesniffer": "38.0.0",
|
2021-09-08 21:35:39 +00:00
|
|
|
"mediawiki/mediawiki-phan-config": "0.11.0",
|
2021-01-30 08:51:56 +00:00
|
|
|
"mediawiki/minus-x": "1.1.1",
|
2020-05-31 14:12:41 +00:00
|
|
|
"php-parallel-lint/php-console-highlighter": "0.5.0",
|
2021-09-08 21:35:39 +00:00
|
|
|
"php-parallel-lint/php-parallel-lint": "1.3.1"
|
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
|
|
|
}
|
|
|
|
}
|