-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpackage.json
More file actions
156 lines (156 loc) · 5.37 KB
/
Copy pathpackage.json
File metadata and controls
156 lines (156 loc) · 5.37 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
{
"name": "prod-forge-todolist-backend",
"version": "0.2.0",
"description": "Real-world backend architecture patterns, production mistakes and lessons learned building scalable systems.",
"repository": {
"type": "git",
"url": "https://github.com/prod-forge/backend.git"
},
"license": "MIT",
"author": "Aleksandrov Sergey <gooddev.sergey@gmail.com>",
"scripts": {
"build": "nest build",
"db:generate": "prisma generate",
"db:init": "prisma migrate deploy && prisma generate",
"db:migrate": "prisma migrate dev --name",
"db:migration:apply": "npm run db:wait && npm run db:migration:deploy",
"db:migration:deploy": "prisma migrate deploy",
"db:seed": "prisma db seed",
"db:wait": "tsx ./database-manager/wait-for-db.ts",
"doctor": "nestjs-doctor .",
"format": "npm run format:prettier && npm run format:code",
"format:code": "eslint . --fix",
"format:prettier": "prettier --write \"src/**/*.{ts,json}\"",
"knip": "knip",
"lint": "npm run lint:ts && npm run lint:code",
"lint:code": "eslint .",
"lint:commit": "commitlint --config .commitlintrc.cjs --edit",
"lint:ts": "tsc --noEmit",
"pre-commit": "lint-staged --config .lintstagedrc.cjs",
"prepare": "husky",
"release": "tsx release/before-release.ts && npx release-it",
"start": "cross-env NODE_ENV=development nest start",
"start:debug": "cross-env NODE_ENV=development nest start --debug --watch",
"start:dev": "cross-env NODE_ENV=development nest start --watch",
"start:prod": "cross-env NODE_ENV=production node dist/src/main",
"test": "cross-env NODE_ENV=test jest",
"test:cov": "cross-env NODE_ENV=test jest --coverage",
"test:debug": "cross-env NODE_ENV=test node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "cross-env NODE_ENV=test NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest --config test/setup/jest-e2e.json --runInBand",
"test:e2e:cov": "cross-env NODE_ENV=test NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest --config test/setup/jest-e2e.json --runInBand --coverage",
"test:watch": "cross-env NODE_ENV=test jest --watch"
},
"jest": {
"collectCoverageFrom": [
"**/*.(t|j)s",
"!**/main.ts",
"!**/*.module.ts",
"!**/*.spec.ts",
"!**/app.setup.ts",
"!**/app.swagger.ts",
"!**/*.config.ts",
"!**/*.interface.ts",
"!**/*.enum.ts",
"!**/*.dto.ts",
"!**/*.entity.ts",
"!**/*di.types.ts",
"!**/*.constants.ts",
"!**/*.contants.ts"
],
"coverageDirectory": "../coverage",
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testEnvironment": "node",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
".+\\.(t|j)s$": "ts-jest"
}
},
"dependencies": {
"@nest-lab/throttler-storage-redis": "1.2.0",
"@nestjs/common": "11.1.21",
"@nestjs/config": "4.0.4",
"@nestjs/core": "11.1.21",
"@nestjs/platform-express": "11.1.21",
"@nestjs/swagger": "11.4.3",
"@nestjs/terminus": "11.1.1",
"@nestjs/throttler": "6.5.0",
"@prisma/adapter-pg": "7.8.0",
"@prisma/client": "7.8.0",
"@scalar/nestjs-api-reference": "1.1.14",
"@sentry/node": "10.53.1",
"@sentry/profiling-node": "10.53.1",
"@willsoto/nestjs-prometheus": "6.1.0",
"class-transformer": "0.5.1",
"class-validator": "0.15.1",
"compression": "1.8.1",
"cross-env": "10.1.0",
"dotenv": "17.4.2",
"express": "5.2.1",
"express-http-context": "2.0.1",
"helmet": "8.1.0",
"ioredis": "5.10.1",
"pino": "10.3.1",
"pino-pretty": "13.1.3",
"prisma": "7.8.0",
"prom-client": "15.1.3",
"reflect-metadata": "0.2.2",
"rxjs": "7.8.2",
"tsx": "4.21.1"
},
"devDependencies": {
"@commitlint/cli": "21.0.1",
"@commitlint/config-conventional": "21.0.1",
"@eslint/js": "10.0.1",
"@eslint/json": "1.2.0",
"@inquirer/checkbox": "5.1.5",
"@inquirer/prompts": "8.4.3",
"@nestjs/cli": "11.0.21",
"@nestjs/schematics": "11.1.0",
"@nestjs/testing": "11.1.21",
"@release-it/conventional-changelog": "11.0.0",
"@testcontainers/postgresql": "11.14.0",
"@testcontainers/redis": "11.14.0",
"@types/compression": "1.8.1",
"@types/express": "5.0.6",
"@types/jest": "30.0.0",
"@types/node": "25.7.0",
"@types/supertest": "7.2.0",
"@typescript-eslint/eslint-plugin": "8.59.3",
"@typescript-eslint/parser": "8.59.3",
"eslint": "10.3.0",
"eslint-config-flat-gitignore": "2.3.0",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-check-file": "3.3.1",
"eslint-plugin-import-lite": "0.6.0",
"eslint-plugin-no-only-tests": "3.4.0",
"eslint-plugin-package-json": "0.91.2",
"eslint-plugin-perfectionist": "5.9.0",
"eslint-plugin-prettier": "5.5.5",
"eslint-plugin-regexp": "3.1.0",
"eslint-plugin-sonarjs": "4.0.3",
"eslint-plugin-unicorn": "64.0.0",
"globals": "17.6.0",
"husky": "9.1.7",
"jest": "30.4.2",
"knip": "6.13.1",
"lint-staged": "17.0.4",
"nestjs-doctor": "0.4.31",
"prettier": "3.8.3",
"release-it": "20.0.1",
"supertest": "7.2.2",
"ts-jest": "29.4.9",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"typescript": "6.0.3",
"typescript-eslint": "8.59.3"
},
"engines": {
"node": ">=24.0.0",
"npm": ">=11.0.0"
}
}