-
Notifications
You must be signed in to change notification settings - Fork 20
/
composer.json
50 lines (50 loc) · 1.6 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
{
"name": "art4/json-api-client",
"type": "library",
"description": "JSON API client",
"homepage": "https://github.com/Art4/json-api-client",
"keywords": ["json", "api", "json-api", "client", "reader", "validator", "parser"],
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "Artur Weigandt",
"email": "[email protected]",
"homepage": "https://wlabs.de"
}
],
"require": {
"php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.64",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-phpunit": "^1.3",
"phpunit/phpunit": "^10.4"
},
"autoload": {
"psr-4": {
"Art4\\JsonApiClient\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Art4\\JsonApiClient\\Tests\\": "tests"
}
},
"scripts": {
"codestyle": "php-cs-fixer fix",
"coverage": "phpunit --coverage-html=\".phpunit.cache/code-coverage\"",
"phpstan": "phpstan analyze --memory-limit 512M --configuration .phpstan.neon",
"phpunit": "phpunit",
"reuse-annotate": "pipx run reuse annotate src tests --license=\"GPL-3.0-or-later\" --copyright=\"2015-2023 Artur Weigandt https://wlabs.de/kontakt\" --recursive --exclude-year --copyright-style=\"spdx\"",
"reuse-lint": "pipx run reuse --suppress-deprecation lint",
"test": [
"@phpstan",
"@phpunit",
"@codestyle --dry-run --diff"
]
},
"config": {
"sort-packages": true
}
}