-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
106 lines (106 loc) · 3.01 KB
/
Copy pathpackage.json
File metadata and controls
106 lines (106 loc) · 3.01 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"name": "node-express-boilerplate",
"version": "1.0.0",
"private": true,
"description": "Production-grade Node.js + Express + TypeScript 7 boilerplate with JWT auth, PostgreSQL/Prisma, Zod-driven OpenAPI docs, and Docker-based dev/stage/prod environments.",
"keywords": [
"nodejs",
"express",
"typescript",
"typescript-7",
"postgresql",
"prisma",
"docker",
"jwt",
"boilerplate",
"starter-kit",
"rest-api",
"openapi",
"zod"
],
"homepage": "https://github.com/Aswad310/TypeScript-v7-Node-Express-Postgres-Boilerplate#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/Aswad310/TypeScript-v7-Node-Express-Postgres-Boilerplate.git"
},
"bugs": {
"url": "https://github.com/Aswad310/TypeScript-v7-Node-Express-Postgres-Boilerplate/issues"
},
"license": "MIT",
"author": "Aswad Ali",
"type": "module",
"engines": {
"node": ">=22.11.0"
},
"imports": {
"#src/*.js": {
"development": "./src/*.ts",
"default": "./dist/*.js"
}
},
"scripts": {
"dev": "tsx watch --conditions=development src/index.ts",
"build": "tsc -p tsconfig.build.json",
"start": "node --enable-source-maps dist/index.js",
"typecheck": "tsc --noEmit",
"lint": "biome lint .",
"lint:fix": "biome lint --write .",
"format": "biome format --write .",
"format:check": "biome format .",
"test": "vitest run",
"test:unit": "vitest run tests/unit",
"test:integration": "vitest run tests/integration",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"prisma:generate": "prisma generate",
"prisma:migrate": "prisma migrate dev",
"prisma:migrate:deploy": "prisma migrate deploy",
"prisma:seed": "tsx --conditions=development prisma/seed.ts",
"prepare": "husky"
},
"dependencies": {
"@asteasolutions/zod-to-openapi": "^9.1.0",
"@prisma/adapter-pg": "^7.9.1",
"@prisma/client": "^7.9.1",
"argon2": "^0.45.1",
"compression": "^1.8.1",
"cookie-parser": "^1.4.7",
"cors": "^2.8.6",
"dotenv": "^17.4.2",
"express": "^5.2.1",
"express-rate-limit": "^8.6.2",
"helmet": "^8.3.0",
"hpp": "^0.2.3",
"jose": "^6.2.8",
"pino": "^10.3.1",
"pino-http": "^11.0.0",
"swagger-ui-express": "^5.0.1",
"zod": "^4.4.3"
},
"devDependencies": {
"@biomejs/biome": "^2.5.8",
"@types/compression": "^1.8.1",
"@types/cookie-parser": "^1.4.10",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.6",
"@types/hpp": "^0.2.7",
"@types/node": "^22.20.1",
"@types/supertest": "^7.2.1",
"@types/swagger-ui-express": "^4.1.8",
"@vitest/coverage-v8": "^4.1.10",
"husky": "^9.1.7",
"lint-staged": "^17.3.0",
"nodemon": "^3.1.10",
"pino-pretty": "^13.1.2",
"prisma": "^7.9.1",
"supertest": "^7.2.2",
"tsx": "^4.23.12",
"typescript": "^7.0.2",
"vitest": "^4.1.10"
},
"lint-staged": {
"*.{ts,js,mjs,cjs,json}": [
"biome check --write --no-errors-on-unmatched"
]
}
}