2016-01-19 22:29:19 +00:00
|
|
|
{
|
2018-11-02 08:34:44 +00:00
|
|
|
"require": {
|
2021-10-13 09:43:39 +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": {
|
2022-11-16 03:22:25 +00:00
|
|
|
"mediawiki/mediawiki-codesniffer": "40.0.1",
|
2022-11-11 02:45:11 +00:00
|
|
|
"mediawiki/mediawiki-phan-config": "0.12.0",
|
2021-01-29 19:49:14 +00:00
|
|
|
"mediawiki/minus-x": "1.1.1",
|
2022-11-11 02:45:11 +00:00
|
|
|
"php-parallel-lint/php-console-highlighter": "1.0.0",
|
|
|
|
"php-parallel-lint/php-parallel-lint": "1.3.2"
|
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
|
|
|
}
|
|
|
|
}
|