-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcomposer.json
54 lines (54 loc) · 1.24 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"name": "wikimedia/wikipeg",
"description": "Parser generator for JavaScript and PHP",
"license": "MIT",
"autoload": {
"psr-4": {
"Wikimedia\\WikiPEG\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Wikimedia\\WikiPEG\\Tests\\": "tests/php/"
}
},
"require": {
"php": ">=7.4.3",
"ext-json": "*",
"ext-mbstring": "*"
},
"require-dev": {
"mediawiki/mediawiki-codesniffer": "46.0.0",
"mediawiki/mediawiki-phan-config": "0.15.1",
"mediawiki/minus-x": "1.1.3",
"ockcyp/covers-validator": "1.6.0",
"php-parallel-lint/php-console-highlighter": "1.0.0",
"php-parallel-lint/php-parallel-lint": "1.4.0",
"phpunit/phpunit": "9.6.21",
"wikimedia/update-history": "^1.0"
},
"scripts": {
"test": [
"parallel-lint . --exclude vendor --exclude node_module",
"phpunit",
"covers-validator",
"@phpcs",
"@phan",
"minus-x check .",
"if [ 'x'$(which node) != 'x' ]; then php tests/php/runCommonTests.php ; fi"
],
"phan": "phan --allow-polyfill-parser",
"cover": "phpunit --coverage-html coverage",
"update-history": "update-history patch",
"fix": [
"minus-x fix .",
"phpcbf"
],
"phpcs": "phpcs -sp"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}