40 lines
1.0 KiB
JSON
40 lines
1.0 KiB
JSON
{
|
|
"name": "ecodev/graphql-upload",
|
|
"description": "A middleware to support file uploads in GraphQL",
|
|
"type": "library",
|
|
"keywords": ["api", "graphql", "upload", "multipart", "middleware"],
|
|
"scripts": {
|
|
"check": [
|
|
"php-cs-fixer fix --ansi --dry-run --diff",
|
|
"phpunit --color=always",
|
|
"phpstan analyse --ansi"
|
|
],
|
|
"fix": [
|
|
"php-cs-fixer fix --ansi"
|
|
]
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"GraphQL\\Upload\\": "src"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"GraphQLTests\\Upload\\": "tests"
|
|
}
|
|
},
|
|
"require": {
|
|
"php": "^8.2",
|
|
"ext-json": "*",
|
|
"psr/http-server-middleware": "^1.0",
|
|
"webonyx/graphql-php": "^15.0",
|
|
"laminas/laminas-diactoros": "^3.6"
|
|
},
|
|
"license": "MIT",
|
|
"require-dev": {
|
|
"friendsofphp/php-cs-fixer": "@stable",
|
|
"phpstan/phpstan": "@stable",
|
|
"phpunit/phpunit": "@stable"
|
|
}
|
|
}
|