mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-15 03:35:58 +00:00
2081766cb4
Additional changes: * Added the "composer phan" command to conveniently run phan. * Removing manual extensions for eslint. Change-Id: I664a503f515018d3f4c0d37b03a03eb0711c0a3b
23 lines
514 B
JSON
23 lines
514 B
JSON
{
|
|
"license": "GPL-2.0-or-later",
|
|
"require-dev": {
|
|
"mediawiki/mediawiki-codesniffer": "34.0.0",
|
|
"mediawiki/mediawiki-phan-config": "0.10.6",
|
|
"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": {
|
|
"test": [
|
|
"parallel-lint . --exclude vendor --exclude node_modules",
|
|
"phpcs -p -s",
|
|
"minus-x check ."
|
|
],
|
|
"fix": [
|
|
"minus-x fix .",
|
|
"phpcbf"
|
|
],
|
|
"phan": "phan -d . --long-progress-bar"
|
|
}
|
|
}
|