forked from overblog/GraphQLBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
109 lines (109 loc) · 4.11 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
{
"name": "overblog/graphql-bundle",
"type": "symfony-bundle",
"license": "MIT",
"description": "This bundle provides tools to build a GraphQL server in your Symfony App.",
"keywords": ["GraphQL","Relay"],
"authors": [
{
"name": "Overblog",
"homepage": "http://www.over-blog.com"
}
],
"autoload": {
"psr-4": {
"Overblog\\GraphQLBundle\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Overblog\\GraphQLBundle\\Benchmarks\\": "benchmarks/",
"Overblog\\GraphQLBundle\\Tests\\": "tests/"
}
},
"config": {
"bin-dir": "bin",
"sort-packages": true
},
"require": {
"php": ">=7.4",
"ext-json": "*",
"murtukov/php-code-generator": "^0.1.5",
"phpdocumentor/reflection-docblock": "^5.2",
"psr/log": "^1.0",
"symfony/config": "^4.4 || ^5.2",
"symfony/dependency-injection": "^4.4 || ^5.2",
"symfony/event-dispatcher": "^4.4 || ^5.2",
"symfony/expression-language": "^4.4 || ^5.2",
"symfony/framework-bundle": "^4.4 || ^5.2",
"symfony/options-resolver": "^4.4 || ^5.2",
"symfony/property-access": "^4.4 || ^5.2",
"webonyx/graphql-php": "dev-master"
},
"suggest": {
"nelmio/cors-bundle": "For more flexibility when using CORS prefight",
"overblog/graphiql-bundle": "If you want to use graphiQL.",
"react/promise": "To use ReactPHP promise adapter",
"symfony/translation": "If you want validation error messages to be translated."
},
"require-dev": {
"doctrine/annotations": "^1.13",
"doctrine/orm": "^2.5",
"phpstan/extension-installer": "^1.0",
"phpstan/phpstan": "^1.0",
"phpstan/phpstan-phpunit": "^1.0",
"phpstan/phpstan-symfony": "^1.0",
"phpunit/phpunit": "^9.5",
"react/promise": "^2.5",
"symfony/asset": "^4.4 || ^5.3",
"symfony/browser-kit": "^4.4 || ^5.3",
"symfony/console": "^4.4 || ^5.3",
"symfony/css-selector": "^4.4 || ^5.3",
"symfony/monolog-bundle": "^3.7",
"symfony/phpunit-bridge": "^4.4 || ^5.3",
"symfony/process": "^4.4 || ^5.3",
"symfony/security-bundle": "^4.4 || ^5.3",
"symfony/validator": "^4.4 || ^5.3",
"symfony/var-dumper": "^4.4 || ^5.3",
"symfony/yaml": "^4.4 || ^5.3",
"twig/twig": "^2.10|^3.0"
},
"conflict": {
"phpdocumentor/type-resolver": "<1.4.0",
"react/promise": "<2.8",
"symfony/phpunit-bridge": "<4.4.9"
},
"extra": {
"branch-alias": {
"dev-master": "1.0-dev"
}
},
"scripts": {
"test": "bin/phpunit --color=always --coverage-clover=build/logs/clover.xml",
"static-analysis": [
"phpstan analyse --ansi --memory-limit=1G"
],
"bench": [
"test -f phpbench.phar || wget https://github.com/phpbench/phpbench/releases/download/1.0.0-alpha7/phpbench.phar -O phpbench.phar",
"@php phpbench.phar run -l dots --ansi -vvv --report='generator: \"table\", cols: [\"benchmark\", \"subject\", \"params\", \"best\", \"mean\", \"mode\", \"worst\", \"diff\"], break: [\"benchmark\"], sort: {mean: \"asc\"}'"
],
"install-cs": "test -f php-cs-fixer.phar || wget https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v2.18.7/php-cs-fixer.phar -O php-cs-fixer.phar",
"fix-cs": [
"@install-cs",
"@php php-cs-fixer.phar fix --diff -v --allow-risky=yes --ansi"
],
"check-cs": [
"@install-cs",
"@php php-cs-fixer.phar fix --dry-run --diff -v --allow-risky=yes --ansi"
],
"code-quality": [
"rm composer.lock",
"@composer install --ansi",
"@static-analysis",
"@bench",
"@check-cs"
],
"docker-clean": "docker image rm $(docker image ls -qf reference=graphql-test)",
"docker": "docker build . -t graphql-test && docker image prune -f >/dev/null && docker run --rm graphql-test"
}
}