This repository was archived by the owner on Feb 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
38 lines (38 loc) · 1.29 KB
/
package.json
File metadata and controls
38 lines (38 loc) · 1.29 KB
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
29
30
31
32
33
34
35
36
37
38
{
"name": "apollo-federation-101",
"version": "0.0.0",
"description": "Demo for GraphQL Meetup 10.0",
"main": "index.ts",
"repository": "https://github.com/UtopiaBeam/apollo-federation-101.git",
"author": "Natchapol Srisang <utopiabeam@gmail.com>",
"license": "MIT",
"dependencies": {
"@apollo/federation": "^0.29.0",
"@apollo/gateway": "^0.38.0",
"@prisma/client": "^2.29.1",
"apollo-server": "^3.1.2",
"graphql": "^15.5.1"
},
"devDependencies": {
"@apollo/rover": "^0.1.10",
"@graphql-codegen/cli": "^2.0.1",
"@graphql-codegen/typescript": "^2.0.0",
"@graphql-codegen/typescript-resolvers": "^2.0.0",
"dotenv": "^10.0.0",
"dotenv-cli": "^4.0.0",
"prisma": "^2.29.1",
"ts-node": "^10.2.0",
"typescript": "^4.3.5"
},
"scripts": {
"start": "ts-node index.ts",
"gateway:start": "ts-node gateway/index.ts",
"pregateway:start": "yarn supergraph",
"db:migrate": "dotenv -- yarn prisma migrate dev --preview-feature",
"db:migrate:reset": "dotenv -- yarn prisma migrate reset",
"codegen:graphql": "graphql-codegen",
"codegen:prisma": "prisma generate",
"codegen": "yarn codegen:graphql && yarn codegen:prisma",
"supergraph": "rover supergraph compose --config ./supergraph-config.yml > supergraph.graphql"
}
}