2016-01-19 22:29:19 +00:00
|
|
|
{
|
2018-11-02 08:34:44 +00:00
|
|
|
"require": {
|
2020-12-29 20:40:55 +00:00
|
|
|
"christian-riesen/base32": "1.4.0",
|
2020-12-28 03:47:08 +00:00
|
|
|
"jakobo/hotp-php": "2.0.0"
|
2018-11-02 08:34:44 +00:00
|
|
|
},
|
2016-01-19 22:29:19 +00:00
|
|
|
"require-dev": {
|
2021-05-12 03:37:42 +00:00
|
|
|
"mediawiki/mediawiki-codesniffer": "36.0.0",
|
2020-12-19 23:28:04 +00:00
|
|
|
"mediawiki/mediawiki-phan-config": "0.10.6",
|
2021-01-29 19:49:14 +00:00
|
|
|
"mediawiki/minus-x": "1.1.1",
|
2020-05-31 09:12:09 +00:00
|
|
|
"php-parallel-lint/php-console-highlighter": "0.5.0",
|
2021-05-12 03:37:42 +00:00
|
|
|
"php-parallel-lint/php-parallel-lint": "1.3.0"
|
2016-01-19 22:29:19 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
2017-06-22 20:45:35 +00:00
|
|
|
"lint": "parallel-lint . --exclude vendor --exclude node_modules",
|
2016-09-16 23:18:35 +00:00
|
|
|
"phpcs": "phpcs -p -s",
|
2017-11-04 01:20:23 +00:00
|
|
|
"fix": [
|
2020-01-14 08:27:29 +00:00
|
|
|
"minus-x fix .",
|
|
|
|
"phpcbf"
|
2017-11-04 01:20:23 +00:00
|
|
|
],
|
2016-01-19 22:29:19 +00:00
|
|
|
"test": [
|
2016-09-16 23:18:35 +00:00
|
|
|
"composer lint",
|
2017-11-04 01:20:23 +00:00
|
|
|
"composer phpcs",
|
|
|
|
"minus-x check ."
|
2021-01-29 19:49:14 +00:00
|
|
|
],
|
|
|
|
"phan": "phan -d . --long-progress-bar"
|
2016-01-19 22:29:19 +00:00
|
|
|
}
|
|
|
|
}
|