-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
50 lines (44 loc) · 1.75 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"name": "graphql-server-benchmark",
"version": "1.0.0",
"author": "mypolat",
"description": "Benchmark different GraphQL server implementations",
"scripts": {
"build": "tsc",
"clean": "rm -rf dist",
"prebuild": "npm run clean",
"start:fastify-mercurius": "node dist/servers/fastify-mercurius.js",
"start:express-apollo": "node dist/servers/express-apollo.js",
"start:fastify-apollo": "node dist/servers/fastify-apollo.js",
"dev:fastify-mercurius": "ts-node src/servers/fastify-mercurius.ts",
"dev:express-apollo": "ts-node src/servers/express-apollo.ts",
"dev:fastify-apollo": "ts-node src/servers/fastify-apollo.ts",
"start:all": "concurrently \"npm run start:fastify-mercurius\" \"npm run start:express-apollo\" \"npm run start:fastify-apollo\"",
"dev:all": "concurrently \"npm run dev:fastify-mercurius\" \"npm run dev:express-apollo\" \"npm run dev:fastify-apollo\"",
"test:smoke": "k6 run --tag testType=smoke k6/load-test.js",
"test:load": "k6 run --tag testType=load k6/load-test.js",
"test:stress": "k6 run --tag testType=stress k6/load-test.js",
"test:spike": "k6 run --tag testType=spike k6/load-test.js",
"test:all": "./scripts/run-tests.sh",
"docker:build": "docker-compose build",
"docker:test": "docker-compose up"
},
"dependencies": {
"@apollo/server": "^4.9.5",
"@as-integrations/fastify": "^2.1.1",
"express": "^4.18.2",
"fastify": "^4.24.3",
"mercurius": "^13.3.1",
"body-parser": "^1.20.2",
"cors": "^2.8.5"
},
"devDependencies": {
"@types/node": "^20.8.7",
"@types/express": "^4.17.20",
"@types/cors": "^2.8.15",
"typescript": "^5.2.2",
"ts-node": "^10.9.1",
"pino-pretty": "^10.2.3",
"concurrently": "^8.2.2"
}
}