mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ReplaceText
synced 2024-12-18 09:11:42 +00:00
be197b8c57
* https://npmjs.com/advisories/577 (CVE-2018-3721) * https://npmjs.com/advisories/745 * https://npmjs.com/advisories/782 (CVE-2018-16487) * https://npmjs.com/advisories/788 * https://npmjs.com/advisories/813 * https://npmjs.com/advisories/1065 (CVE-2019-10744) * https://npmjs.com/advisories/1523 (CVE-2019-10744) Additional changes: * Replaced "jakub-onderka" packages with "php-parallel-lint". * Committed package-lock.json (T179229) too. * Consolidated .phpcs.xml encoding to "UTF-8" (T200956). * Dropped .php5 and .inc files from .phpcs.xml (T200956). * Also sorted "composer fix" command to run phpcbf last. * Added the "composer phan" command to conveniently run phan. * Set `root: true` in .eslintrc.json (T206485). * Enable eslint caching. Change-Id: I226ec86e0b2ed01892047197f2cb7bb3f1ca9fa8
22 lines
464 B
JSON
22 lines
464 B
JSON
{
|
|
"require-dev": {
|
|
"mediawiki/mediawiki-codesniffer": "19.1.0",
|
|
"mediawiki/mediawiki-phan-config": "0.2.0",
|
|
"mediawiki/minus-x": "0.3.1",
|
|
"php-parallel-lint/php-console-highlighter": "0.3.2",
|
|
"php-parallel-lint/php-parallel-lint": "1.0.0"
|
|
},
|
|
"scripts": {
|
|
"fix": [
|
|
"minus-x fix .",
|
|
"phpcbf"
|
|
],
|
|
"test": [
|
|
"parallel-lint . --exclude vendor --exclude node_modules",
|
|
"phpcs -p -s",
|
|
"minus-x check ."
|
|
],
|
|
"phan": "phan -d . -p"
|
|
}
|
|
}
|