2019-10-10 13:25:11 +00:00
|
|
|
{
|
|
|
|
"require-dev": {
|
2021-10-23 21:54:02 +00:00
|
|
|
"mediawiki/mediawiki-codesniffer": "38.0.0",
|
2021-09-08 18:31:24 +00:00
|
|
|
"mediawiki/mediawiki-phan-config": "0.11.0",
|
2021-01-29 07:32:15 +00:00
|
|
|
"mediawiki/minus-x": "1.1.1",
|
2020-06-08 10:00:04 +00:00
|
|
|
"php-parallel-lint/php-console-highlighter": "0.5.0",
|
2021-09-08 18:31:24 +00:00
|
|
|
"php-parallel-lint/php-parallel-lint": "1.3.1"
|
2019-10-10 13:25:11 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"test": [
|
2020-01-11 21:27:35 +00:00
|
|
|
"parallel-lint . --exclude vendor --exclude node_modules",
|
2021-10-08 23:08:40 +00:00
|
|
|
"@phpcs",
|
2020-06-25 12:23:17 +00:00
|
|
|
"minus-x check ."
|
2019-10-10 13:25:11 +00:00
|
|
|
],
|
2020-01-11 21:27:35 +00:00
|
|
|
"fix": [
|
|
|
|
"minus-x fix .",
|
|
|
|
"phpcbf"
|
2021-01-29 07:32:15 +00:00
|
|
|
],
|
2021-01-30 19:35:44 +00:00
|
|
|
"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"
|
|
|
|
],
|
2021-10-08 23:08:40 +00:00
|
|
|
"phan": "phan -d . --long-progress-bar",
|
|
|
|
"phpcs": "phpcs -sp --cache"
|
2019-10-10 13:25:11 +00:00
|
|
|
}
|
|
|
|
}
|