-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
57 lines (57 loc) · 3.01 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
51
52
53
54
55
56
57
{
"name": "benchmark-js-playground",
"type": "module",
"version": "1.0.0",
"description": "",
"author": "",
"license": "ISC",
"keywords": [],
"main": "index.js",
"scripts": {
"eslint": "npx eslint .",
"eslint:fix": "npx eslint . --fix",
"----------------------------------------------": "",
"docker:infra": "docker-compose -f ./src/infra/docker-compose.yaml down && docker-compose -f ./src/infra/docker-compose.yaml up",
"docker:clear": "docker volume rm $(docker volume ls -f dangling=true -q) && docker rm -f $(docker ps -a --filter name=^nmt- -q) && docker rmi $(docker images -f dangling=true -q)",
"-----------------------------------------------": "",
"server": "NODE_ENV=production node --env-file=.env ./dist/server/entrypoint.js",
"benchmark:automate": "NODE_ENV=production node --env-file=.env ./dist/benchmarks/automate.js -automate",
"benchmark:manual": "NODE_ENV=production node --env-file=.env ./dist/benchmarks/benchmark.js",
"benchmark:clear": "find benchmarks-data/ -maxdepth 1 -type f -name 'benchmark-*.json' -delete",
"------------------------------------------------": "",
"typecheck": "tsc --noEmit",
"typecheck:watch": "tsc --noEmit --watch",
"-------------------------------------------------": "",
"build": "rm -rf dist && npx tsc --noEmit false && tsc-alias",
"build:watch": "concurrently \"npx tsc -w --noEmit false\" \"tsc-alias -w\"",
"--------------------------------------------------": "",
"graph:deps:generate:v1": "npx depcruise src --include-only '^src' --output-type dot | dot -T svg > ./docs/dependency-graph-v1.svg",
"graph:deps:generate:v2": "npx depcruise src --include-only '^src' --progress --config .dependency-cruiser.cjs --output-type dot | dot -T svg -Grankdir=TD | tee docs/dependency-graph-v2.svg | node node_modules/dependency-cruiser/bin/wrap-stream-in-html.mjs > docs/dependency-graph-v2.html",
"graph:deps:generate:top-level": "npx depcruise src --include-only '^src' --config .dependency-cruiser.cjs --output-type ddot | dot -T svg -Grankdir=TD | tee docs/dependency-graph-top-level.svg | node node_modules/dependency-cruiser/bin/wrap-stream-in-html.mjs > docs/dependency-graph-top-level.html",
"graph:deps:generate:all": "npm run graph:deps:generate:v1 && npm run graph:deps:generate:v2 && npm run graph:deps:generate:top-level",
"graph:deps:check": "npx depcruise src"
},
"dependencies": {
"autocannon": "^7.15.0",
"express": "^4.19.2",
"fastify": "^4.28.1",
"ioredis": "^5.4.1",
"pg": "^8.12.0",
"uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.48.0"
},
"devDependencies": {
"@antfu/eslint-config": "^3.0.0",
"@types/autocannon": "^7.12.5",
"@types/bun": "^1.1.8",
"@types/express": "^4.17.21",
"@types/node": "^22.5.4",
"concurrently": "^9.0.1",
"dependency-cruiser": "^16.4.2",
"eslint": "^9.9.1",
"globals": "^15.9.0",
"tsc-alias": "^1.8.10",
"tsx": "^4.19.0",
"typescript": "^5.5.4",
"typescript-eslint": "^8.8.1"
}
}