mirror of
https://github.com/vale981/apollo-server
synced 2025-03-17 16:26:40 -04:00

Create an integration that will return a lambda handler for a graphql or graphiql server. This integration requires an API Gateway with Lambda Proxy Integration. The test runner expects req and res objects for testing. We have to mock these for the tests to execute properly.
43 lines
1.1 KiB
JSON
43 lines
1.1 KiB
JSON
{
|
|
"name": "graphql-server-lambda",
|
|
"version": "0.5.1",
|
|
"description": "Production-ready Node.js GraphQL server for AWS Lambda",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"compile": "tsc",
|
|
"prepublish": "npm run compile"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/apollostack/graphql-server/tree/master/packages/graphql-server-lambda"
|
|
},
|
|
"keywords": [
|
|
"GraphQL",
|
|
"Apollo",
|
|
"Server",
|
|
"Lambda",
|
|
"Javascript"
|
|
],
|
|
"author": "Jonas Helfer <jonas@helfer.email>",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/apollostack/graphql-server/issues"
|
|
},
|
|
"homepage": "https://github.com/apollostack/graphql-server#readme",
|
|
"dependencies": {
|
|
"graphql-server-core": "^0.5.1",
|
|
"graphql-server-module-graphiql": "^0.4.4"
|
|
},
|
|
"devDependencies": {
|
|
"@types/aws-lambda": "0.0.5",
|
|
"@types/graphql": "^0.8.6",
|
|
"graphql-server-integration-testsuite": "^0.5.1"
|
|
},
|
|
"peerDependencies": {
|
|
"graphql": "^0.8.0 || ^0.9.0"
|
|
},
|
|
"typings": "dist/index.d.ts",
|
|
"typescript": {
|
|
"definition": "dist/index.d.ts"
|
|
}
|
|
}
|