-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
72 lines (72 loc) · 2.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"name": "gacela-project/router",
"type": "library",
"description": "A minimalistic HTTP router.",
"license": "MIT",
"require": {
"php": ">=8.1",
"gacela-project/container": "^0.6"
},
"require-dev": {
"ext-mbstring": "*",
"friendsofphp/php-cs-fixer": "^3.41",
"gacela-project/gacela": "^1.7",
"infection/infection": "^0.26",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^9.6",
"psalm/plugin-phpunit": "^0.18",
"symfony/var-dumper": "^5.4",
"vimeo/psalm": "^5.18"
},
"suggest": {
"gacela-project/gacela": "^1.7"
},
"autoload": {
"psr-4": {
"Gacela\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"GacelaTest\\": "tests/"
}
},
"scripts": {
"serve": "php -S localhost:8081 example/example.php",
"ctal": [
"@static-clear-cache",
"@csfix",
"@test",
"@infection"
],
"test": "@test-all",
"test-all": [
"@quality",
"@phpunit"
],
"quality": ["@csrun", "@psalm", "@phpstan"],
"phpunit": ["@test-phpunit"],
"static-clear-cache": [
"XDEBUG_MODE=off vendor/bin/psalm --clear-cache",
"XDEBUG_MODE=off vendor/bin/phpstan clear-result-cache"
],
"test-phpunit": "XDEBUG_MODE=off ./vendor/bin/phpunit",
"test-coverage": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --testsuite=unit,feature --coverage-html=data/coverage-html",
"psalm": "XDEBUG_MODE=off ./vendor/bin/psalm",
"phpstan": "XDEBUG_MODE=off ./vendor/bin/phpstan analyze",
"csfix": "XDEBUG_MODE=off ./vendor/bin/php-cs-fixer fix",
"csrun": "XDEBUG_MODE=off ./vendor/bin/php-cs-fixer fix --dry-run",
"infection": "XDEBUG_MODE=coverage ./vendor/bin/infection --show-mutations --threads=max --min-msi=100 --min-covered-msi=100"
},
"config": {
"platform": {
"php": "8.1"
},
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {
"infection/extension-installer": true
}
}
}