| 1 | { |
| 2 | "name": "mediawiki/replace-text", |
| 3 | "type": "mediawiki-extension", |
| 4 | "description": "Allows users to do a global string find-and-replace on all the pages of a wiki", |
| 5 | "license": "GPL-2.0-or-later", |
| 6 | "require-dev": { |
| 7 | "mediawiki/mediawiki-codesniffer": "45.0.0", |
| 8 | "mediawiki/mediawiki-phan-config": "0.14.0", |
| 9 | "mediawiki/minus-x": "1.1.3", |
| 10 | "php-parallel-lint/php-console-highlighter": "1.0.0", |
| 11 | "php-parallel-lint/php-parallel-lint": "1.4.0" |
| 12 | }, |
| 13 | "scripts": { |
| 14 | "fix": [ |
| 15 | "minus-x fix .", |
| 16 | "phpcbf" |
| 17 | ], |
| 18 | "test": [ |
| 19 | "parallel-lint . --exclude vendor --exclude node_modules --exclude .phan", |
| 20 | "@phpcs", |
| 21 | "minus-x check ." |
| 22 | ], |
| 23 | "phan": "phan -d . --long-progress-bar", |
| 24 | "phpcs": "phpcs -sp --cache" |
| 25 | }, |
| 26 | "config": { |
| 27 | "allow-plugins": { |
| 28 | "dealerdirect/phpcodesniffer-composer-installer": true |
| 29 | } |
| 30 | } |
| 31 | } |