mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateStyles
synced 2024-11-15 03:35:47 +00:00
a859a0c0b7
* grunt: 1.1.0 → 1.4.0 * lodash: 4.17.19 → 4.17.21 * https://npmjs.com/advisories/1673 (CVE-2021-23337) Additional changes: * Consolidated .phpcs.xml encoding to "UTF-8" (T200956). * Dropped .php5 and .inc files from .phpcs.xml (T200956). * Added the "composer phan" command to conveniently run phan. Change-Id: Ibb4decbbdb3426be449a492488177669e4d02690
26 lines
570 B
JSON
26 lines
570 B
JSON
{
|
|
"license": "GPL-2.0-or-later",
|
|
"require": {
|
|
"wikimedia/css-sanitizer": "~3.0.0"
|
|
},
|
|
"require-dev": {
|
|
"mediawiki/mediawiki-codesniffer": "31.0.0",
|
|
"mediawiki/mediawiki-phan-config": "0.10.2",
|
|
"mediawiki/minus-x": "1.1.0",
|
|
"php-parallel-lint/php-console-highlighter": "0.5.0",
|
|
"php-parallel-lint/php-parallel-lint": "1.2.0"
|
|
},
|
|
"scripts": {
|
|
"fix": [
|
|
"minus-x fix .",
|
|
"phpcbf"
|
|
],
|
|
"test": [
|
|
"parallel-lint . --exclude vendor --exclude node_modules",
|
|
"phpcs -p -s",
|
|
"minus-x check ."
|
|
],
|
|
"phan": "phan -d . --long-progress-bar"
|
|
}
|
|
}
|