-
Notifications
You must be signed in to change notification settings - Fork 4
/
composer.json
40 lines (40 loc) · 1.05 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
{
"name": "uma/json-rpc",
"description": "a JSON-RPC 2.0 server",
"license": "MIT",
"type": "library",
"require": {
"php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0",
"ext-json": "*",
"opis/json-schema": "^2.0",
"psr/container": "^1.0 || ^2.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.16",
"phpmetrics/phpmetrics": "^2.8",
"phpunit/phpunit": "^9.5",
"scrutinizer/ocular": "^1.9",
"uma/dic": "^2.0 || ^3.0"
},
"autoload": {
"psr-4": {
"UMA\\JsonRpc\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"UMA\\JsonRpc\\Tests\\": "tests/"
}
},
"scripts": {
"lint": "vendor/bin/php-cs-fixer fix -v",
"test": "php -dzend.assertions=1 -dassert.exception=1 vendor/bin/phpunit",
"metrics": [
"@test",
"vendor/bin/phpmetrics --junit=./build/junit.xml --report-html=./build/metrics ."
]
},
"config": {
"sort-packages": true
}
}