mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-11-24 00:05:00 +00:00
94b4f0463f
Change-Id: Ic23a06fd70f599665371fa35e10cb4a1ca26caac
43 lines
928 B
JSON
43 lines
928 B
JSON
{
|
|
"require-dev": {
|
|
"mediawiki/lua-sandbox": "4.1.2",
|
|
"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"
|
|
},
|
|
"repositories": [
|
|
{
|
|
"type": "package",
|
|
"package": {
|
|
"name": "mediawiki/lua-sandbox",
|
|
"version": "4.1.2",
|
|
"source": {
|
|
"url": "https://gerrit.wikimedia.org/r/mediawiki/php/luasandbox.git",
|
|
"type": "git",
|
|
"reference": "tags/4.1.2"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"scripts": {
|
|
"test": [
|
|
"parallel-lint . --exclude vendor --exclude node_modules",
|
|
"@phpcs",
|
|
"minus-x check ."
|
|
],
|
|
"fix": [
|
|
"minus-x fix .",
|
|
"phpcbf"
|
|
],
|
|
"phan": "phan -d . --long-progress-bar",
|
|
"phpcs": "phpcs -sp --cache"
|
|
},
|
|
"config": {
|
|
"allow-plugins": {
|
|
"dealerdirect/phpcodesniffer-composer-installer": true
|
|
}
|
|
}
|
|
}
|