mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-13 17:48:17 +00:00
099e7a80c4
The `flatted` module in lib/ve/node_modules includes some php files that keep causing errors. Add the --cache just because it seems to be common practice in other MW extensions. Change-Id: Ia791e569587d76e991711b93011cb1df3796f532
23 lines
534 B
JSON
23 lines
534 B
JSON
{
|
|
"require-dev": {
|
|
"mediawiki/mediawiki-codesniffer": "41.0.0",
|
|
"mediawiki/mediawiki-phan-config": "0.12.1",
|
|
"mediawiki/minus-x": "1.1.1",
|
|
"php-parallel-lint/php-console-highlighter": "1.0.0",
|
|
"php-parallel-lint/php-parallel-lint": "1.3.2"
|
|
},
|
|
"scripts": {
|
|
"test": [
|
|
"parallel-lint . --exclude vendor --exclude node_modules",
|
|
"minus-x check .",
|
|
"@phpcs"
|
|
],
|
|
"fix": [
|
|
"minus-x fix .",
|
|
"phpcbf"
|
|
],
|
|
"phan": "phan -d . --long-progress-bar",
|
|
"phpcs": "phpcs -sp --cache --ignore=*/node_modules/"
|
|
}
|
|
}
|