-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
71 lines (71 loc) · 2.21 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"name": "openmage/composer-plugin",
"description": "Openmage Composer Plugin",
"keywords": [
"composer plugin",
"openmage"
],
"license": "OSL-3.0",
"authors": [
{
"name": "Sven Reichel",
"email": "[email protected]",
"role": "Author"
}
],
"type" : "composer-plugin",
"autoload": {
"psr-4": {
"": "src/"
}
},
"require": {
"php": ">=7.4",
"composer-plugin-api": "^2.0",
"symfony/filesystem": "*",
"symfony/finder": "*"
},
"require-dev": {
"composer/composer": "^2.8",
"phpstan/phpstan": "^2.1",
"phpstan/phpstan-strict-rules": "^2.0",
"phpstan/phpstan-symfony": "^2.0",
"phpstan/phpstan-phpunit": "^2.0",
"phpunit/phpunit": "^9.6",
"phpmd/phpmd": "^2.15",
"friendsofphp/php-cs-fixer": "^3.67"
},
"extra": {
"class": "OpenMage\\ComposerPlugin\\Plugin"
},
"scripts": {
"php-cs-fixer:test": "vendor/bin/php-cs-fixer fix --dry-run --diff",
"php-cs-fixer:fix": "vendor/bin/php-cs-fixer fix",
"phpmd": "vendor/bin/phpmd src text .phpmd.dist.xml --color --cache --baseline-file .phpmd.dist.baseline.xml",
"phpstan": "XDEBUG_MODE=off php vendor/bin/phpstan analyze",
"phpstan:baseline": "XDEBUG_MODE=off php vendor/bin/phpstan analyze -b .phpstan.dist.baseline.neon",
"phpunit:test": "XDEBUG_MODE=off php vendor/bin/phpunit --configuration .phpunit.dist.xml --no-coverage",
"phpunit:coverage": "XDEBUG_MODE=coverage php vendor/bin/phpunit --configuration .phpunit.dist.xml --testdox",
"phpunit:coverage-local": "XDEBUG_MODE=coverage php vendor/bin/phpunit --configuration .phpunit.dist.xml --coverage-html build/coverage-composer-plugin --testdox"
},
"scripts-descriptions": {
"php-cs-fixer:test": "Run php-cs-fixer",
"php-cs-fixer:fix": "Run php-cs-fixer and fix issues",
"phpmd": "Run phpmd",
"phpstan": "Run phpstan",
"phpstan:baseline": "Run phpstan and update baseline",
"phpunit:test": "Run PHPUnit",
"phpunit:coverage": "Run PHPUnit with code coverage (requires XDEBUG enabled)",
"phpunit:coverage-local": "Run PHPUnit with local HTML code coverage (requires XDEBUG enabled)"
},
"funding": [
{
"type": "opencollective",
"url": "https://opencollective.com/openmage"
},
{
"type": "github",
"url": "https://github.com/sreichel"
}
]
}