-
Notifications
You must be signed in to change notification settings - Fork 11
/
composer.json
113 lines (113 loc) · 2.83 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "api-clients/pusher",
"description": "Async first Pusher client",
"homepage": "https://php-api-clients.org/clients/pusher",
"license": "MIT",
"authors": [
{
"name": "Cees-Jan Kiewiet",
"email": "[email protected]"
}
],
"require": {
"php": "^8 || ^7.2",
"api-clients/command-bus": "^2.0",
"clue/block-react": "^1.1",
"jean85/pretty-package-versions": "^1.0",
"react/dns": "^1.0 || ^0.4.9",
"react/http-client": "^0.5 || ^0.4.17",
"reactivex/rxphp": "^2.0.4",
"rx/helpers": "^1.0",
"rx/operator-extras": "^2.1",
"rx/websocket": "^2.0 || ^1.0",
"voryx/event-loop": "^3.0 || ^2.0.2"
},
"require-dev": {
"api-clients/test-utilities": "^5.4"
},
"autoload": {
"psr-4": {
"ApiClients\\Client\\Pusher\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"ApiClients\\Tests\\Client\\Pusher\\": "tests/",
"Rx\\": "vendor/reactivex/rxphp/test/Rx"
},
"files": [
"vendor/reactivex/rxphp/test/helper-functions.php"
]
},
"config": {
"sort-packages": true,
"platform": {
"php": "7.2"
},
"allow-plugins": {
"ocramius/package-versions": true,
"localheinz/composer-normalize": true
}
},
"extra": {
"api-clients": {
"command-bus": {
"path": "src/CommandBus",
"namespace": "ApiClients\\Client\\Pusher\\CommandBus"
}
}
},
"scripts": {
"ensure-installed": "composer install --ansi -n -q",
"cs": [
"@ensure-installed",
"php-cs-fixer fix --config=.php_cs --ansi --dry-run --diff --verbose --allow-risky=yes --show-progress=estimating"
],
"cs-fix": [
"@ensure-installed",
"php-cs-fixer fix --config=.php_cs --ansi --verbose --allow-risky=yes --show-progress=estimating"
],
"unit": [
"@ensure-installed",
"phpunit --colors=always -c phpunit.xml.dist -d xdebug.max_nesting_level=500"
],
"unit-coverage": [
"@ensure-installed",
"phpunit --colors=always -c phpunit.xml.dist -d xdebug.max_nesting_level=500 --coverage-text --coverage-html covHtml --coverage-clover ./build/logs/clover.xml"
],
"lint-php": [
"@ensure-installed",
"parallel-lint --exclude vendor ."
],
"qa-all": [
"@lint-php",
"@cs",
"@unit"
],
"qa-all-coverage": [
"@lint-php",
"@cs",
"@unit-coverage"
],
"qa-windows": [
"@lint-php",
"@cs",
"@unit"
],
"qa-ci": [
"@unit"
],
"qa-ci-extended": [
"@qa-all-coverage"
],
"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"
]
}
}