-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathcomposer.json
More file actions
50 lines (50 loc) · 1.5 KB
/
Copy pathcomposer.json
File metadata and controls
50 lines (50 loc) · 1.5 KB
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
{
"name": "ampache/ampacheapi-php",
"type": "library",
"description": "Ampache API PHP Library.",
"keywords": ["ampache", "api", "library"],
"homepage": "https://github.com/ampache/ampacheapi-php",
"license": "AGPL-3.0-only",
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": ">=7.4.0",
"ext-xml": "*",
"ext-json": "*"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.49",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^9.6"
},
"autoload": {
"psr-4": {
"AmpacheApi\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"AmpacheApi\\Tests\\": "tests/"
}
},
"scripts": {
"stan": "vendor/bin/phpstan analyse",
"cs:fix": "vendor/bin/php-cs-fixer fix",
"cs:check": "vendor/bin/php-cs-fixer fix --dry-run -vv",
"qa:methods": "php tools/verify-methods.php",
"test": "vendor/bin/phpunit",
"qa": [
"@cs:check",
"@stan",
"@test"
]
},
"scripts-descriptions": {
"stan": "Performs static analysis",
"cs:fix": "Performs code-style corrections on the whole codebase",
"cs:check": "Performs a code-style dry-run on the whole codebase",
"qa:methods": "Checks the method version maps against a live Ampache server",
"test": "Runs the test suite",
"qa": "The pre-PR gate: code style, static analysis and tests"
}
}