This repository was archived by the owner on Feb 13, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
59 lines (59 loc) · 2.54 KB
/
package.json
File metadata and controls
59 lines (59 loc) · 2.54 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
{
"name": "template-node-express",
"version": "1.0.0",
"description": "Opinionated starter for Express backends with a clean architecture",
"type": "module",
"scripts": {
"dev": "node -e \"const { spawn, spawnSync } = require('node:child_process'); const tscPath = require.resolve('typescript/bin/tsc'); const initial = spawnSync(process.execPath, [tscPath, '-p', 'tsconfig.json'], { stdio: 'inherit' }); if (initial.status !== 0) process.exit(initial.status ?? 1); const tsc = spawn(process.execPath, [tscPath, '-w', '-p', 'tsconfig.json'], { stdio: 'inherit' }); const server = spawn(process.execPath, ['--watch', 'dist/server.js'], { stdio: 'inherit' }); const shutdown = (signal) => { tsc.kill(signal); server.kill(signal); }; process.on('SIGINT', () => shutdown('SIGINT')); process.on('SIGTERM', () => shutdown('SIGTERM'));\"",
"build": "tsc -p tsconfig.json",
"start": "node dist/server.js",
"worker": "node dist/worker.js",
"test": "vitest",
"test:unit": "vitest run tests/unit",
"test:integration": "cross-env RUN_INTEGRATION_TESTS=true vitest run tests/integration",
"test:e2e": "cross-env RUN_E2E_TESTS=true vitest run tests/e2e",
"lint": "eslint .",
"format": "prettier --write .",
"format:check": "prettier --check .",
"typecheck": "tsc -p tsconfig.json --noEmit",
"typecheck:tests": "tsc -p tsconfig.test.json --noEmit",
"db:generate": "drizzle-kit generate",
"db:migrate": "drizzle-kit migrate",
"db:studio": "drizzle-kit studio",
"auth:generate": "cross-env SKIP_ENV_VALIDATION=true npx @better-auth/cli generate",
"auth:migrate": "cross-env SKIP_ENV_VALIDATION=true npx @better-auth/cli migrate"
},
"dependencies": {
"amqplib": "^0.10.9",
"argon2": "^0.44.0",
"better-auth": "^1.4.18",
"dotenv": "^17.2.3",
"drizzle-orm": "^0.45.1",
"express": "^5.2.1",
"pg": "^8.17.1",
"pino": "^10.3.0",
"zod": "^4.3.6"
},
"devDependencies": {
"@better-auth/cli": "^1.4.18",
"@eslint/js": "^9.39.2",
"@testcontainers/postgresql": "^11.11.0",
"@types/amqplib": "^0.10.8",
"@types/express": "^5.0.6",
"@types/node": "^24.3.1",
"@types/pg": "^8.16.0",
"@types/supertest": "^6.0.3",
"cross-env": "^10.1.0",
"drizzle-kit": "^0.31.8",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"globals": "^17.2.0",
"pino-pretty": "^13.1.3",
"prettier": "^3.8.0",
"supertest": "^7.2.2",
"testcontainers": "^11.11.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.50.0",
"vitest": "^4.0.17"
}
}