-
Notifications
You must be signed in to change notification settings - Fork 160
/
composer.json
57 lines (57 loc) · 1.82 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
55
56
57
{
"name": "wikimedia/composer-merge-plugin",
"description": "Composer plugin to merge multiple composer.json files",
"type": "composer-plugin",
"license": "MIT",
"authors": [
{
"name": "Bryan Davis",
"email": "[email protected]"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": ">=7.4.0",
"composer-plugin-api": "^1.1||^2.0"
},
"require-dev": {
"ext-json": "*",
"composer/composer": "^1.1||^2.0",
"mediawiki/mediawiki-phan-config": "0.11.1",
"php-parallel-lint/php-parallel-lint": "~1.3.1",
"phpspec/prophecy-phpunit": "~2.0.1",
"phpunit/phpunit": "^9.5",
"squizlabs/php_codesniffer": "~3.7.1"
},
"autoload": {
"psr-4": {
"Wikimedia\\Composer\\Merge\\V2\\": "src/"
}
},
"extra": {
"branch-alias": {
"dev-master": "2.x-dev"
},
"class": "Wikimedia\\Composer\\Merge\\V2\\MergePlugin"
},
"config": {
"optimize-autoloader": true,
"sort-packages": true
},
"scripts": {
"coverage": [
"phpunit --log-junit=reports/unitreport.xml --coverage-text --coverage-html=reports/coverage --coverage-clover=reports/coverage.xml",
"phpcs --encoding=utf-8 --standard=PSR2 --report-checkstyle=reports/checkstyle-phpcs.xml --report-full --extensions=php src/* tests/phpunit/*"
],
"phan": "phan -d . --long-progress-bar --allow-polyfill-parser",
"phpcs": "phpcs --encoding=utf-8 --standard=PSR2 --extensions=php src/* tests/phpunit/*",
"phpunit": "phpunit",
"test": [
"composer validate --no-interaction",
"parallel-lint src tests",
"@phpunit",
"@phpcs"
]
}
}