-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 2.19 KB
/
Copy pathpackage.json
File metadata and controls
65 lines (65 loc) · 2.19 KB
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
58
59
60
61
62
63
64
65
{
"name": "backend",
"module": "index.ts",
"type": "module",
"private": true,
"scripts": {
"gen": "cd proto && bunx buf generate",
"dev:backend": "bun --watch src/server.ts",
"test:migrate": "DATABASE_URL=postgresql://postgres:postgres@localhost:5433/scrawn_test bunx drizzle-kit push",
"test:migrate:clickhouse": "CLICKHOUSE_URL=http://default:clickhouse@localhost:8124/scrawn_test bun run src/storage/adapter/clickhouse/migrate.ts",
"test:postgres": "bun run test:migrate && vitest --run",
"test:clickhouse": "bun run test:migrate && bun run test:migrate:clickhouse && STORAGE_ADAPTER=clickhouse vitest --run",
"test:all": "bun run test:postgres && bun run test:clickhouse",
"test:ui": "vitest --ui",
"start": "bun run src/server.ts",
"init_key": "bun run src/utils/generateInitialAPIKey.ts",
"db:create_dashboard": "bun run src/utils/createDashboardDB.ts",
"format": "bunx prettier --write .",
"typecheck": "bunx tsgo",
"migrate:clickhouse": "bun run src/storage/adapter/clickhouse/migrate.ts",
"proto:pull": "git submodule update --remote --merge proto",
"proto:push": "cd proto && git add . && git commit -s -m \"$1\" && git push && cd ..",
"prepare": "husky"
},
"devDependencies": {
"@types/bun": "^1.3.14",
"@types/expr-eval": "^1.1.2",
"@types/luxon": "^3.7.1",
"@types/node-cron": "^3.0.11",
"@vitest/ui": "^4.1.6",
"dotenv": "^17.4.2",
"drizzle-kit": "^0.31.10",
"grpc-tools": "^1.13.1",
"husky": "^9.1.7",
"lint-staged": "^17.0.5",
"pino-pretty": "^13.1.3",
"ts-proto": "2.11.8",
"tsx": "^4.22.0",
"vitest": "^4.1.7"
},
"lint-staged": {
"*.{ts,js,json,md}": [
"bunx prettier --write"
]
},
"peerDependencies": {
"typescript": "^6.0.3"
},
"dependencies": {
"@bufbuild/protobuf": "^2.12.0",
"@clickhouse/client": "^1.18.5",
"@grpc/grpc-js": "^1.14.3",
"@sentry/bun": "^10.53.1",
"dodopayments": "^2.31.2",
"drizzle-orm": "^0.45.2",
"expr-eval": "^2.0.2",
"fastify": "^5.8.5",
"fastify-raw-body": "^5.0.0",
"luxon": "^3.7.2",
"node-cron": "^4.2.1",
"pino": "^10.3.1",
"postgres": "^3.4.9",
"zod": "^4.4.3"
}
}