-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
25 lines (25 loc) · 1.18 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
{
"name": "subgraphs",
"workspaces": [
"subgraphs/*",
"datasource"
],
"scripts": {
"dev": "npm-run-all --parallel dev:router dev:docker dev:posts dev:users dev:datasource",
"dev:windows": "npm-run-all --parallel dev:docker dev:posts dev:users dev:datasource dev:router:windows",
"loadtest": "docker run --rm -i grafana/k6:0.46.0 run -e K6_PROMETHEUS_RW_TREND_AS_NATIVE_HISTOGRAM=true -e K6_PROMETHEUS_RW_SERVER_URL=http://host.docker.internal:9000/api/v1/write -o experimental-prometheus-rw - <k6/short.js",
"loadtest:long": "docker run --rm -i grafana/k6:0.46.0 run -e K6_PROMETHEUS_RW_TREND_AS_NATIVE_HISTOGRAM=true -e K6_PROMETHEUS_RW_SERVER_URL=http://host.docker.internal:9000/api/v1/write -o experimental-prometheus-rw - <k6/long.js",
"dev:docker": "docker compose up -d",
"dev:router": "./router.sh",
"dev:router:windows": "powershell.exe -ExecutionPolicy Bypass -Command .\\router.ps1",
"dev:posts": "npm run dev -w subgraphs/posts",
"dev:users": "npm run dev -w subgraphs/users",
"dev:datasource": "npm run dev -w datasource"
},
"devDependencies": {
"npm-run-all": "^4.1.5"
},
"dependencies": {
"dataloader": "^2.2.2"
}
}