|
1 | 1 | {
|
2 |
| - "name": "api-clients/middleware-json", |
3 |
| - "description": "JSON encode/decode middleware", |
4 |
| - "license": "MIT", |
5 |
| - "authors": [ |
6 |
| - { |
7 |
| - "name": "Cees-Jan Kiewiet", |
8 |
| - "email": "ceesjank@gmail.com" |
9 |
| - } |
10 |
| - ], |
11 |
| - "require": { |
12 |
| - "php": "^7.2", |
13 |
| - "api-clients/json": "^1.0", |
14 |
| - "api-clients/middleware": "^4.0", |
15 |
| - "api-clients/transport": "^3.1", |
16 |
| - "clue/buzz-react": "^2.0 || ^1.4", |
17 |
| - "psr/http-message": "^1.0", |
18 |
| - "ringcentral/psr7": "^1.2", |
19 |
| - "wyrihaximus/ticking-promise": "^1.6" |
20 |
| - }, |
21 |
| - "require-dev": { |
22 |
| - "api-clients/test-utilities": "^5.4.0" |
23 |
| - }, |
24 |
| - "autoload": { |
25 |
| - "psr-4": { |
26 |
| - "ApiClients\\Middleware\\Json\\": "src/" |
27 |
| - } |
28 |
| - }, |
29 |
| - "autoload-dev": { |
30 |
| - "psr-4": { |
31 |
| - "ApiClients\\Tests\\Middleware\\Json\\": "tests/" |
32 |
| - } |
33 |
| - }, |
34 |
| - "config": { |
35 |
| - "sort-packages": true, |
36 |
| - "platform": { |
37 |
| - "php": "7.2" |
38 |
| - } |
39 |
| - }, |
40 |
| - "scripts": { |
41 |
| - "ensure-installed": "composer install --ansi -n -q", |
42 |
| - "cs": [ |
43 |
| - "@ensure-installed", |
44 |
| - "php-cs-fixer fix --config=.php_cs --ansi --dry-run --diff --verbose --allow-risky=yes --show-progress=estimating" |
45 |
| - ], |
46 |
| - "cs-fix": [ |
47 |
| - "@ensure-installed", |
48 |
| - "php-cs-fixer fix --config=.php_cs --ansi --verbose --allow-risky=yes --show-progress=estimating" |
49 |
| - ], |
50 |
| - "unit": [ |
51 |
| - "@ensure-installed", |
52 |
| - "phpunit --colors=always -c phpunit.xml.dist" |
53 |
| - ], |
54 |
| - "unit-coverage": [ |
55 |
| - "@ensure-installed", |
56 |
| - "phpunit --colors=always -c phpunit.xml.dist --coverage-text --coverage-html covHtml --coverage-clover ./build/logs/clover.xml" |
57 |
| - ], |
58 |
| - "lint-php": [ |
59 |
| - "@ensure-installed", |
60 |
| - "parallel-lint --exclude vendor ." |
| 2 | + "name": "api-clients/middleware-json", |
| 3 | + "description": "JSON encode/decode middleware", |
| 4 | + "license": "MIT", |
| 5 | + "authors": [ |
| 6 | + { |
| 7 | + "name": "Cees-Jan Kiewiet", |
| 8 | + "email": "ceesjank@gmail.com" |
| 9 | + } |
61 | 10 | ],
|
62 |
| - "qa-all": [ |
63 |
| - "@lint-php", |
64 |
| - "@cs", |
65 |
| - "@unit" |
66 |
| - ], |
67 |
| - "qa-all-coverage": [ |
68 |
| - "@lint-php", |
69 |
| - "@cs", |
70 |
| - "@unit-coverage" |
71 |
| - ], |
72 |
| - "qa-windows": [ |
73 |
| - "@lint-php", |
74 |
| - "@cs", |
75 |
| - "@unit" |
76 |
| - ], |
77 |
| - "qa-ci": [ |
78 |
| - "@unit" |
79 |
| - ], |
80 |
| - "qa-ci-extended": [ |
81 |
| - "@qa-all-coverage" |
82 |
| - ], |
83 |
| - "qa-ci-windows": [ |
84 |
| - "@qa-windows" |
85 |
| - ], |
86 |
| - "qa-contrib": [ |
87 |
| - "@qa-all" |
88 |
| - ], |
89 |
| - "ci-coverage": [ |
90 |
| - "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" |
91 |
| - ] |
92 |
| - } |
| 11 | + "require": { |
| 12 | + "php": "^7.2", |
| 13 | + "api-clients/json": "^1.0", |
| 14 | + "api-clients/middleware": "^4.0", |
| 15 | + "api-clients/transport": "^3.1", |
| 16 | + "clue/buzz-react": "^2.0 || ^1.4", |
| 17 | + "psr/http-message": "^1.0", |
| 18 | + "ringcentral/psr7": "^1.2" |
| 19 | + }, |
| 20 | + "require-dev": { |
| 21 | + "api-clients/test-utilities": "^5.4.0" |
| 22 | + }, |
| 23 | + "autoload": { |
| 24 | + "psr-4": { |
| 25 | + "ApiClients\\Middleware\\Json\\": "src/" |
| 26 | + } |
| 27 | + }, |
| 28 | + "autoload-dev": { |
| 29 | + "psr-4": { |
| 30 | + "ApiClients\\Tests\\Middleware\\Json\\": "tests/" |
| 31 | + } |
| 32 | + }, |
| 33 | + "config": { |
| 34 | + "sort-packages": true, |
| 35 | + "platform": { |
| 36 | + "php": "7.2" |
| 37 | + } |
| 38 | + }, |
| 39 | + "scripts": { |
| 40 | + "ensure-installed": "composer install --ansi -n -q", |
| 41 | + "cs": [ |
| 42 | + "@ensure-installed", |
| 43 | + "php-cs-fixer fix --config=.php_cs --ansi --dry-run --diff --verbose --allow-risky=yes --show-progress=estimating" |
| 44 | + ], |
| 45 | + "cs-fix": [ |
| 46 | + "@ensure-installed", |
| 47 | + "php-cs-fixer fix --config=.php_cs --ansi --verbose --allow-risky=yes --show-progress=estimating" |
| 48 | + ], |
| 49 | + "unit": [ |
| 50 | + "@ensure-installed", |
| 51 | + "phpunit --colors=always -c phpunit.xml.dist" |
| 52 | + ], |
| 53 | + "unit-coverage": [ |
| 54 | + "@ensure-installed", |
| 55 | + "phpunit --colors=always -c phpunit.xml.dist --coverage-text --coverage-html covHtml --coverage-clover ./build/logs/clover.xml" |
| 56 | + ], |
| 57 | + "lint-php": [ |
| 58 | + "@ensure-installed", |
| 59 | + "parallel-lint --exclude vendor ." |
| 60 | + ], |
| 61 | + "qa-all": [ |
| 62 | + "@lint-php", |
| 63 | + "@cs", |
| 64 | + "@unit" |
| 65 | + ], |
| 66 | + "qa-all-coverage": [ |
| 67 | + "@lint-php", |
| 68 | + "@cs", |
| 69 | + "@unit-coverage" |
| 70 | + ], |
| 71 | + "qa-windows": [ |
| 72 | + "@lint-php", |
| 73 | + "@cs", |
| 74 | + "@unit" |
| 75 | + ], |
| 76 | + "qa-ci": [ |
| 77 | + "@unit" |
| 78 | + ], |
| 79 | + "qa-ci-extended": [ |
| 80 | + "@qa-all-coverage" |
| 81 | + ], |
| 82 | + "qa-ci-windows": [ |
| 83 | + "@qa-windows" |
| 84 | + ], |
| 85 | + "qa-contrib": [ |
| 86 | + "@qa-all" |
| 87 | + ], |
| 88 | + "ci-coverage": [ |
| 89 | + "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" |
| 90 | + ] |
| 91 | + } |
93 | 92 | }
|
0 commit comments