-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
65 lines (65 loc) · 1.9 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
{
"name": "usox/hypersonic",
"description": "Creates subsonic-protocol compatible api backends",
"type": "library",
"config": {
"sort-packages": true
},
"require": {
"php": "^8.2 || ^8.3",
"ext-mbstring": "*",
"aaronddm/xml-builder": "^2.0",
"psr/http-message": "^1||^2"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"phpunit/phpunit": "^10",
"mockery/mockery": "^1.5",
"phpstan/phpstan": "^1.5",
"phpstan/phpstan-mockery": "^1",
"phpstan/phpstan-strict-rules": "^1",
"rector/rector": "^1"
},
"license": "MIT",
"autoload": {
"psr-4": {
"Usox\\HyperSonic\\": ["src/"]
}
},
"autoload-dev": {
"psr-4": {
"Usox\\HyperSonic\\": ["tests/"]
}
},
"authors": [
{
"name": "Daniel Jakob",
"email": "github@usox.org"
}
],
"scripts": {
"qa": [
"@composer check-cs",
"@composer stan",
"@composer rector:dry",
"@composer test"
],
"check-cs": "php-cs-fixer fix --dry-run --diff",
"fix-cs": "php-cs-fixer fix",
"test": "phpunit tests",
"stan": "phpstan analyse",
"coverage": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --coverage-html build/coverage",
"rector:dry": "rector -n",
"rector:fix": "rector process"
},
"scripts-descriptions": {
"qa": "Runs all QA related scripts",
"check-cs": "Executes code style checks",
"fix-cs": "Apply the code style rules onto the codebase",
"test": "Runs the unittests",
"stan": "Runs phpstan code analysis",
"coverage": "Runs the code coverage generation",
"rector:dry": "Performs a rector dry run",
"rector:fix": "Applies pending rector code migrations"
}
}