-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
26 lines (26 loc) · 1.38 KB
/
package.json
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
{
"description": "WunderGraph Cosmo Federation Demos",
"scripts": {
"services": "run-script-os",
"services:default": "concurrently --kill-others-on-fail \"ts-node demos/typescript/employees/server.ts\" \"ts-node demos/typescript/family/server.ts\" \"ts-node demos/typescript/hobbies/server.ts\" \"ts-node demos/typescript/products/server.ts\"",
"services-go": "run-script-os",
"services-go:default": "cd demos/go && go run cmd/all/main.go",
"start": "run-script-os",
"start:default": "concurrently \"npm run services\" \"wgc router download-binary; cd ./router && ./router\"",
"start:win32": "concurrently \"npm run services\" \"wgc router download-binary && cd router && router.exe\"",
"start-go": "run-script-os",
"start-go:default": "concurrently \"npm run services-go\" \"wgc router download-binary; cd ./router && ./router\"",
"start-go:win32": "concurrently \"npm run services-go\" \"wgc router download-binary && cd router && router.exe\"",
"compose": "cd router/ts && wgc router compose -i graphs-ts.yaml -o ../config.json",
"compose-go": "cd router/go && wgc router compose -i graphs-go.yaml -o ../config.json"
},
"devDependencies": {
"@graphql-yoga/node": "^2.13.13",
"@types/node": "^20.9.3",
"run-script-os": "^1.1.6",
"typescript": "^5.3.2",
"wgc": "latest",
"concurrently": "^8.2.2",
"ts-node": "^10.9.1"
}
}