-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 2.05 KB
/
Copy pathpackage.json
File metadata and controls
77 lines (77 loc) · 2.05 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
66
67
68
69
70
71
72
73
74
75
76
77
{
"name": "nodejs-backend",
"version": "1.0.0",
"description": "Production-ready Node.js backend with TypeScript, Fastify, and modern tools",
"main": "dist/server.js",
"scripts": {
"dev": "tsx watch src/server.ts",
"build": "tsc",
"start": "node dist/server.js",
"test": "vitest",
"test:unit": "vitest run tests/unit",
"test:integration": "vitest run tests/integration",
"test:e2e": "vitest run tests/e2e",
"test:coverage": "vitest run --coverage",
"lint": "eslint src --ext .ts",
"lint:fix": "eslint src --ext .ts --fix",
"format": "prettier --write \"src/**/*.{ts,js,json}\"",
"db:generate": "prisma generate",
"db:push": "prisma db push",
"db:migrate": "prisma migrate dev",
"db:studio": "prisma studio",
"db:seed": "tsx prisma/seed.ts",
"docker:up": "docker-compose up -d",
"docker:down": "docker-compose down",
"prepare": "husky install"
},
"keywords": [
"nodejs",
"typescript",
"fastify",
"prisma",
"backend",
"api"
],
"author": "MiniMax Agent",
"license": "MIT",
"dependencies": {
"@fastify/cors": "^9.0.1",
"@fastify/helmet": "^11.1.1",
"@fastify/rate-limit": "^9.1.0",
"@fastify/swagger": "^8.14.0",
"@fastify/swagger-ui": "^3.0.0",
"@prisma/client": "^5.18.0",
"fastify": "^4.28.1",
"zod": "^3.23.8",
"dotenv": "^16.4.5",
"winston": "^3.14.2"
},
"devDependencies": {
"@types/node": "^22.5.2",
"@typescript-eslint/eslint-plugin": "^8.6.0",
"@typescript-eslint/parser": "^8.6.0",
"@vitest/coverage-v8": "^2.1.1",
"eslint": "^9.10.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.27.5",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"postcss": "^8.4.47",
"prettier": "^3.3.3",
"prisma": "^5.18.0",
"tsx": "^4.19.1",
"typescript": "^5.6.2",
"vite": "^5.4.6",
"vitest": "^2.1.1"
},
"engines": {
"node": ">=20.0.0",
"npm": ">=10.0.0"
},
"lint-staged": {
"*.{ts,js}": [
"eslint --fix",
"prettier --write"
]
}
}