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": {
|
2018-08-24 19:07:10 +00:00
|
|
|
"wikimedia/css-sanitizer": "~2.0.0"
|
2017-02-20 04:33:24 +00:00
|
|
|
},
|
2016-04-07 13:08:44 +00:00
|
|
|
"require-dev": {
|
2020-11-04 13:51:39 +00:00
|
|
|
"mediawiki/mediawiki-codesniffer": "33.0.0",
|
2020-11-20 20:03:35 +00:00
|
|
|
"mediawiki/mediawiki-phan-config": "0.10.4",
|
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
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|