mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateStyles
synced 2024-12-11 16:16:15 +00:00
a1710e1a68
Bug: T378591 Change-Id: I2a8bfda1e3880be44e20637bd729b73d97df726f
32 lines
727 B
JSON
32 lines
727 B
JSON
{
|
|
"license": "GPL-2.0-or-later",
|
|
"require": {
|
|
"wikimedia/css-sanitizer": "^5.1.0 || ^5.2.0 || ^5.3.0 || ^5.4.0"
|
|
},
|
|
"require-dev": {
|
|
"mediawiki/mediawiki-codesniffer": "44.0.0",
|
|
"mediawiki/mediawiki-phan-config": "0.14.0",
|
|
"mediawiki/minus-x": "1.1.3",
|
|
"php-parallel-lint/php-console-highlighter": "1.0.0",
|
|
"php-parallel-lint/php-parallel-lint": "1.4.0"
|
|
},
|
|
"scripts": {
|
|
"fix": [
|
|
"minus-x fix .",
|
|
"phpcbf"
|
|
],
|
|
"test": [
|
|
"parallel-lint . --exclude vendor --exclude node_modules",
|
|
"@phpcs",
|
|
"minus-x check ."
|
|
],
|
|
"phan": "phan -d . --long-progress-bar",
|
|
"phpcs": "phpcs -sp --cache"
|
|
},
|
|
"config": {
|
|
"allow-plugins": {
|
|
"dealerdirect/phpcodesniffer-composer-installer": true
|
|
}
|
|
}
|
|
}
|