-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
28 lines (28 loc) · 1001 Bytes
/
package.json
File metadata and controls
28 lines (28 loc) · 1001 Bytes
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
{
"name": "typescript-graphql-vercel-serverless-function-example",
"version": "1.0.0",
"description": "The goal of this repository is to have a simple working example of a Vercel serverless function that uses GraphQL that is written in TypeScript that others can follow when setting up similar solutions in their own work.",
"main": "index.js",
"scripts": {
"build": "tsc",
"codegen": "graphql-codegen --config ./codegen.ts",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Sean Kenny",
"type": "module",
"dependencies": {
"apollo-server-micro": "^3.13.0",
"graphql": "^16.9.0",
"micro": "^9.4.1",
"micro-cors": "^0.1.1"
},
"devDependencies": {
"@graphql-codegen/cli": "^5.0.2",
"@graphql-codegen/introspection": "^4.0.3",
"@graphql-codegen/typescript": "^4.0.9",
"@graphql-codegen/typescript-resolvers": "^4.2.1",
"@types/micro-cors": "^0.1.5",
"@types/node": "^20.14.10",
"typescript": "^5.6.2"
}
}