-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
70 lines (70 loc) · 2.08 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
{
"name": "overblog/graphql-subscription",
"type": "library",
"description": "GraphQL native subscription.",
"keywords": ["GraphQL", "subscription", "mercure"],
"license": "MIT",
"authors": [
{
"name": "Overblog",
"homepage": "http://www.over-blog.com"
}
],
"config" : {
"sort-packages": true,
"bin-dir": "bin"
},
"require": {
"php": ">=7.1",
"ext-json": "*",
"psr/log": "^1.0",
"symfony/mercure": ">=0.2.0",
"webonyx/graphql-php": "*"
},
"require-dev": {
"lcobucci/jwt": "^3.2",
"overblog/graphql-bundle": ">=0.11",
"phpstan/extension-installer": "^1.0",
"phpstan/phpstan-phpunit": "^0.11",
"phpstan/phpstan-shim": "^0.11.19",
"phpstan/phpstan-symfony": "^0.11",
"phpunit/phpunit": "^7.2",
"symfony/framework-bundle": ">=3.4",
"symfony/messenger": ">=4.0",
"symfony/yaml": ">=3.4"
},
"autoload": {
"psr-4": {
"Overblog\\GraphQLSubscription\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Overblog\\GraphQLSubscription\\Tests\\": "tests/"
}
},
"scripts": {
"test": "bin/phpunit --color=always -v --debug",
"static-analysis": [
"phpstan analyse --ansi --memory-limit=1G"
],
"install-cs": "test -f bin/php-cs-fixer.phar || wget https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v2.15.3/php-cs-fixer.phar -O bin/php-cs-fixer.phar",
"fix-cs": [
"@install-cs",
"@php bin/php-cs-fixer.phar fix --diff -v --allow-risky=yes --ansi"
],
"check-cs": [
"@install-cs",
"@php bin/php-cs-fixer.phar fix --dry-run --diff -v --allow-risky=yes --ansi"
],
"code-quality": [
"rm composer.lock",
"@composer install --ansi",
"@static-analysis",
"@check-cs"
]
},
"suggest": {
"nelmio/cors-bundle": "To manage CORS prefight"
}
}