-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
32 lines (32 loc) · 1.65 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
27
28
29
30
31
32
{
"name": "router",
"version": "1.0.0",
"description": "Rust",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"router": "APOLLO_ROUTER_HOT_RELOAD=true APOLLO_KEY=service:barfriends:HK36HSViS1rAb1l5wNG67w APOLLO_GRAPH_REF=barfriends@current ./router --config ./router.yaml ",
"router-local": "APOLLO_ROUTER_HOT_RELOAD=true ./router --dev --supergraph supergraph.graphql --config ./router.yaml",
"router-m": "APOLLO_ROUTER_HOT_RELOAD=true cargo run -- --dev --supergraph supergraph.graphql -c ./router.yaml",
"list": "rover subgraph list barfriends@current",
"genf": "npm run fetch-all && npm run compose",
"geni": "npm run intro-all && npm run compose",
"fetch-profiling": "rover subgraph fetch barfriends@current --name profiling > profiling-schema-rover.graphql",
"fetch-managing": "rover subgraph fetch barfriends@current --name managing > managing-schema-rover.graphql",
"fetch-all": "npm run fetch-managing && npm run fetch-profiling",
"intro-profiling": "rover subgraph introspect http://localhost:5001/graphql > profiling-schema-rover.graphql",
"intro-managing": "rover subgraph introspect http://localhost:5002/graphql > managing-schema-rover.graphql",
"intro-all": "npm run intro-managing && npm run intro-profiling",
"compose": "rover supergraph compose --config ./supergraph.yaml > supergraph.graphql"
},
"repository": {
"type": "git",
"url": "git+https://github.com/elritz/router.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/elritz/router/issues"
},
"homepage": "https://github.com/elritz/router#readme"
}