mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-12-18 02:51:26 +00:00
5b8646f73f
Bug: T264885 Change-Id: I92d0362eac80ae1ae70839e26e2c084003862a5f
27 lines
981 B
JSON
27 lines
981 B
JSON
{
|
|
"require-dev": {
|
|
"mediawiki/mediawiki-codesniffer": "35.0.0",
|
|
"mediawiki/mediawiki-phan-config": "0.10.6",
|
|
"mediawiki/minus-x": "1.1.1",
|
|
"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"
|
|
],
|
|
"dbschema": [
|
|
"php ../../maintenance/generateSchemaSql.php --json sql/discussiontools_subscription.json --sql sql/mysql/discussiontools_subscription.sql --type mysql",
|
|
"php ../../maintenance/generateSchemaSql.php --json sql/discussiontools_subscription.json --sql sql/postgres/discussiontools_subscription.sql --type postgres",
|
|
"php ../../maintenance/generateSchemaSql.php --json sql/discussiontools_subscription.json --sql sql/sqlite/discussiontools_subscription.sql --type sqlite"
|
|
],
|
|
"phan": "phan -d . --long-progress-bar"
|
|
}
|
|
}
|