graphql-php/composer.json

51 lines
1.3 KiB
JSON
Raw Normal View History

2015-07-15 20:05:46 +03:00
{
"name": "webonyx/graphql-php",
"description": "A PHP port of GraphQL reference implementation",
2015-07-15 20:05:46 +03:00
"type": "library",
"license": "MIT",
2015-07-15 20:05:46 +03:00
"homepage": "https://github.com/webonyx/graphql-php",
"keywords": [
"graphql",
"API"
],
"require": {
2018-03-09 17:03:52 +03:00
"php": ">=5.6",
"ext-mbstring": "*"
2015-07-15 20:05:46 +03:00
},
"require-dev": {
"phpunit/phpunit": "^4.8",
2018-08-23 10:07:05 +03:00
"psr/http-message": "^1.0",
"react/promise": "2.*"
2015-07-15 20:05:46 +03:00
},
"config": {
2018-03-09 17:03:52 +03:00
"bin-dir": "bin",
"preferred-install": "dist",
"sort-packages": true
},
2015-07-15 20:05:46 +03:00
"autoload": {
2016-04-09 10:15:45 +03:00
"psr-4": {
"GraphQL\\": "src/"
}
2015-07-15 20:05:46 +03:00
},
"autoload-dev": {
2016-04-09 10:36:53 +03:00
"psr-4": {
2016-04-28 16:21:24 +03:00
"GraphQL\\Tests\\": "tests/",
"GraphQL\\Benchmarks\\": "benchmarks/",
"GraphQL\\Examples\\Blog\\": "examples/01-blog/Blog/"
2016-04-09 10:36:53 +03:00
}
},
2018-08-23 09:34:49 +03:00
"scripts": {
"static-analysis": [
"rm phpstan.phar || true",
"@composer req --ansi --no-interaction --dev phpstan/phpstan-shim",
"cp -f vendor/phpstan/phpstan-shim/phpstan.phar .",
"@composer rem --ansi --dev phpstan/phpstan-shim",
"@php phpstan.phar analyse --ansi -l 1 -c phpstan.neon src"
]
},
"suggest": {
2017-08-15 17:56:21 +03:00
"react/promise": "To leverage async resolving on React PHP platform",
"psr/http-message": "To use standard GraphQL server"
2015-07-15 20:05:46 +03:00
}
}