mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-29 00:25:17 +03:00
56 lines
1.5 KiB
JSON
56 lines
1.5 KiB
JSON
{
|
|
"name": "webonyx/graphql-php",
|
|
"description": "A PHP port of GraphQL reference implementation",
|
|
"type": "library",
|
|
"license": "MIT",
|
|
"homepage": "https://github.com/webonyx/graphql-php",
|
|
"keywords": [
|
|
"graphql",
|
|
"API"
|
|
],
|
|
"require": {
|
|
"php": "^7.1",
|
|
"ext-json": "*",
|
|
"ext-mbstring": "*"
|
|
},
|
|
"require-dev": {
|
|
"doctrine/coding-standard": "^5.0",
|
|
"phpbench/phpbench": "^0.14.0",
|
|
"phpstan/phpstan": "0.10.5",
|
|
"phpstan/phpstan-phpunit": "0.10.0",
|
|
"phpstan/phpstan-strict-rules": "0.10.1",
|
|
"phpunit/phpunit": "^7.2",
|
|
"psr/http-message": "^1.0",
|
|
"react/promise": "2.*"
|
|
},
|
|
"config": {
|
|
"preferred-install": "dist",
|
|
"sort-packages": true
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"GraphQL\\": "src/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"GraphQL\\Tests\\": "tests/",
|
|
"GraphQL\\Benchmarks\\": "benchmarks/",
|
|
"GraphQL\\Examples\\Blog\\": "examples/01-blog/Blog/"
|
|
}
|
|
},
|
|
"suggest": {
|
|
"react/promise": "To leverage async resolving on React PHP platform",
|
|
"psr/http-message": "To use standard GraphQL server"
|
|
},
|
|
"scripts": {
|
|
"api-docs": "php tools/gendocs.php",
|
|
"bench": "phpbench run .",
|
|
"test": "phpunit",
|
|
"lint" : "phpcs",
|
|
"fix-style" : "phpcbf",
|
|
"static-analysis": "phpstan analyse --ansi --memory-limit 256M",
|
|
"check-all": "composer lint && composer static-analysis && composer test"
|
|
}
|
|
}
|