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": {
|
2020-12-07 03:31:07 +00:00
|
|
|
"mediawiki/mediawiki-codesniffer": "34.0.0",
|
2020-12-20 03:50:52 +00:00
|
|
|
"mediawiki/mediawiki-phan-config": "0.10.6",
|
2020-06-10 08:06:00 +00:00
|
|
|
"mediawiki/minus-x": "1.1.0",
|
2020-05-31 14:12:41 +00:00
|
|
|
"php-parallel-lint/php-console-highlighter": "0.5.0",
|
|
|
|
"php-parallel-lint/php-parallel-lint": "1.2.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",
|
2017-11-04 02:50:33 +00:00
|
|
|
"phpcs -p -s",
|
|
|
|
"minus-x check ."
|
2016-04-07 13:08:44 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|