This repository was archived by the owner on Sep 24, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
133 lines (133 loc) · 4.22 KB
/
Copy pathpackage.json
File metadata and controls
133 lines (133 loc) · 4.22 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
{
"name": "jellysafe-backend",
"version": "0.1.0",
"description": "JellySafe - 제주 연안 해파리 위험도 예측/대응 지원 서비스 (헥사고날 아키텍처)",
"author": "JellySafe Team",
"private": true,
"license": "UNLICENSED",
"engines": {
"node": ">=22.12"
},
"scripts": {
"build": "nest build",
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main.js",
"lint": "eslint \"{src,test,prisma,scripts}/**/*.ts\" --max-warnings 0",
"lint:fix": "eslint \"{src,test,prisma,scripts}/**/*.ts\" --fix",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"typecheck": "tsc --noEmit -p tsconfig.json",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:e2e": "jest --config ./test/jest-e2e.json",
"test:smoke": "ts-node -r tsconfig-paths/register scripts/prepare-test-db.ts && jest --config ./test/jest-smoke.json",
"db:test:up": "docker compose -f docker-compose.test.yml up -d --wait",
"db:test:down": "docker compose -f docker-compose.test.yml down -v",
"db:dev:up": "docker compose -f docker-compose.dev.yml up -d --wait",
"db:dev:down": "docker compose -f docker-compose.dev.yml down",
"db:dev:reset": "docker compose -f docker-compose.dev.yml down -v && npm run db:dev:up && npm run db:dev:init",
"db:dev:init": "ts-node -r tsconfig-paths/register scripts/prepare-dev-db.ts",
"prisma:generate": "prisma generate",
"prisma:pull": "prisma db pull",
"prisma:migrate": "prisma migrate dev",
"prisma:studio": "prisma studio",
"prisma:seed": "prisma db seed",
"prisma:seed-demo": "ts-node -r tsconfig-paths/register prisma/seed-demo.ts",
"load:test": "ts-node -r tsconfig-paths/register scripts/load-test.ts",
"sql:check-constraints": "ts-node -r tsconfig-paths/register scripts/generate-check-constraints.ts"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.1114.0",
"@aws-sdk/s3-request-presigner": "^3.1114.0",
"@nestjs/common": "^11.0.1",
"@nestjs/config": "^4.0.0",
"@nestjs/core": "^11.0.1",
"@nestjs/jwt": "^11.0.2",
"@nestjs/platform-express": "^11.0.1",
"@nestjs/schedule": "^6.0.0",
"@nestjs/swagger": "^11.0.0",
"@nestjs/throttler": "^6.5.0",
"@prisma/client": "^6.19.3",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"ioredis": "^6.0.0",
"kysely": "^0.29.5",
"mysql2": "^3.12.0",
"nanoid": "^3.3.8",
"pdf-parse": "^2.4.5",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.1",
"web-push": "^3.6.7"
},
"devDependencies": {
"@nestjs/cli": "^11.0.0",
"@nestjs/schematics": "^11.0.0",
"@nestjs/testing": "^11.0.1",
"@types/express": "^5.0.0",
"@types/jest": "^29.5.14",
"@types/node": "^22.10.7",
"@types/supertest": "^6.0.2",
"@types/web-push": "^3.6.4",
"eslint": "^9.18.0",
"eslint-config-prettier": "^9.1.2",
"globals": "^15.15.0",
"jest": "^29.7.0",
"prettier": "^3.4.2",
"prisma": "^6.19.3",
"prisma-kysely": "^2.2.0",
"source-map-support": "^0.5.21",
"supertest": "^7.0.0",
"ts-jest": "^29.2.5",
"ts-loader": "^9.5.2",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.7.3",
"typescript-eslint": "^8.67.0"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"roots": [
"<rootDir>",
"<rootDir>/../prisma"
],
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"transformIgnorePatterns": [
"/node_modules/(?!(kysely)/)"
],
"collectCoverageFrom": [
"**/*.ts",
"!**/*.spec.ts",
"!**/*.module.ts",
"!**/dto/**",
"!main.ts"
],
"coverageDirectory": "../coverage",
"coverageThreshold": {
"global": {
"statements": 34,
"branches": 33,
"functions": 29,
"lines": 34
}
},
"testEnvironment": "node",
"moduleNameMapper": {
"^@shared/(.*)$": "<rootDir>/shared/$1",
"^@contexts/(.*)$": "<rootDir>/contexts/$1"
}
},
"overrides": {
"deepmerge-ts": "^8.0.2",
"multer": "^2.3.0"
}
}