forked from php-api-clients/foundation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
78 lines (78 loc) · 1.82 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
73
74
75
76
77
78
{
"name": "api-clients/foundation",
"license": "MIT",
"minimum-stability": "dev",
"prefer-stable": true,
"authors": [
{
"name": "Cees-Jan Kiewiet",
"email": "ceesjank@gmail.com"
}
],
"require": {
"php": "^7.0",
"api-clients/command-bus": "^2.0",
"api-clients/hydrator": "dev-master",
"api-clients/middleware": "^2.0||^1.1",
"api-clients/service": "dev-master",
"api-clients/transport": "dev-master",
"league/event": "^2.1",
"php-di/php-di": "^5.4"
},
"require-dev": {
"api-clients/test-utilities": "^2.0"
},
"suggest": {
"api-clients/resource-generator": "Easy wireframing of resources",
"wyrihaximus/react-cache-filesystem": "Filesystem cache",
"wyrihaximus/react-cache-redis": "Redis cache"
},
"autoload": {
"psr-4": {
"ApiClients\\Foundation\\": "src/"
},
"files": [
"src/functions_include.php"
]
},
"autoload-dev": {
"psr-4": {
"ApiClients\\Tests\\Foundation\\": "tests/",
"ApiClients\\TestApp\\Foundation\\": "test_app/"
}
},
"config": {
"sort-packages": true
},
"scripts": {
"ensure-installed": "composer install --ansi -n -q",
"cs": [
"@ensure-installed",
"phpcs --standard=PSR2 src/"
],
"unit": [
"@ensure-installed",
"phpunit --colors=always -c phpunit.xml.dist --coverage-text --coverage-html covHtml"
],
"qa-all": [
"@cs",
"@unit"
],
"qa-windows": [
"@cs",
"@unit"
],
"qa-ci": [
"@qa-all"
],
"qa-ci-windows": [
"@qa-windows"
],
"qa-contrib": [
"@qa-all"
],
"ci-coverage": [
"if [ -f ./build/logs/clover.xml ]; then wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover ./build/logs/clover.xml; fi"
]
}
}