-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
144 lines (144 loc) · 4.74 KB
/
package.json
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
{
"name": "vitamin-c-backend",
"version": "0.0.1",
"description": "",
"author": "",
"private": true,
"license": "UNLICENSED",
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
},
"type": "commonjs",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build # && pnpm sentry:sourcemaps",
"migrate:create:dev": "dotenv -e .development.env -- npx mikro-orm migration:create",
"migrate:up:dev": "dotenv -e .development.env -- npx mikro-orm migration:up",
"show:database:schema": "dotenv -e .development.env -- npx mikro-orm schema:create --dump",
"show:database:schema:update": "dotenv -e .development.env -- npx mikro-orm schema:update --no-drop-tables --dump",
"database:schema:update": "dotenv -e .development.env -- npx mikro-orm schema:update --no-drop-tables -r",
"migrate:up": "npx mikro-orm migration:up",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start:dev": "export NODE_ENV=development&& nest start --watch",
"start:stage": "export NODE_ENV=stage&& nest start --watch",
"start:prod": "export NODE_ENV=production&& node dist/main",
"start:debug": "export NODE_ENV=development&& nest start --debug --watch",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json",
"prepare": "husky",
"postgres:local:up": "docker compose --env-file .development.env up -d && pnpm migrate:up:dev",
"sentry:sourcemaps": "sentry-cli sourcemaps inject --org vitaminc --project korrk-back ./dist && sentry-cli sourcemaps upload --org vitaminc --project korrk-back ./dist"
},
"dependencies": {
"@azure/openai": "2.0.0-beta.1",
"@mikro-orm/core": "^6.2.9",
"@mikro-orm/migrations": "^6.2.9",
"@mikro-orm/nestjs": "^6.0.2",
"@mikro-orm/postgresql": "^6.2.9",
"@mikro-orm/sql-highlighter": "^1.0.1",
"@nestjs/axios": "^3.0.2",
"@nestjs/common": "^10.3.9",
"@nestjs/config": "^3.2.2",
"@nestjs/core": "^10.3.9",
"@nestjs/jwt": "^10.2.0",
"@nestjs/mapped-types": "*",
"@nestjs/passport": "^10.0.3",
"@nestjs/platform-express": "^10.3.9",
"@nestjs/swagger": "^7.3.1",
"@sentry/cli": "^2.32.1",
"@sentry/nestjs": "^8.13.0",
"aws-sdk": "^2.1690.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"cookie-parser": "^1.4.6",
"joi": "^17.13.3",
"moment-timezone": "^0.5.45",
"openai": "^4.52.2",
"passport-custom": "^1.1.1",
"passport-jwt": "^4.0.1",
"passport-kakao": "^1.0.1",
"reflect-metadata": "^0.2.2",
"rimraf": "^5.0.7",
"rxjs": "^7.8.1",
"uuid": "^10.0.0"
},
"devDependencies": {
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.5.0",
"@mikro-orm/cli": "^6.2.9",
"@nestjs/cli": "^10.3.2",
"@nestjs/schematics": "^10.1.1",
"@nestjs/testing": "^10.3.9",
"@sentry/node": "^8.13.0",
"@sentry/profiling-node": "^8.13.0",
"@swc/cli": "^0.3.12",
"@swc/core": "^1.6.1",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/cookie-parser": "^1.4.7",
"@types/express": "^4.17.21",
"@types/jest": "29.5.12",
"@types/multer": "^1.4.12",
"@types/node": "^20.14.2",
"@types/passport-jwt": "^4.0.1",
"@types/passport-kakao": "^1.0.3",
"@types/supertest": "^6.0.2",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^7.13.0",
"@typescript-eslint/parser": "^7.13.0",
"dotenv-cli": "^7.4.2",
"eslint": "^9.4.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"globals": "^15.6.0",
"husky": "^9.0.11",
"jest": "^29.7.0",
"nock": "beta",
"prettier": "^3.3.2",
"prettier-2": "npm:prettier@^2",
"source-map-support": "^0.5.21",
"supertest": "^7.0.0",
"ts-jest": "^29.1.4",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.4.5"
},
"mikro-orm": {
"useTsNode": true,
"configPaths": [
"./src/mikro-orm.config.ts"
]
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": [
"ts-jest",
"@swc/jest"
]
},
"moduleDirectories": [
"node_modules",
"src"
],
"moduleNameMapper": {
"src/(.*)": "<rootDir>/$1"
},
"prettierPath": "<rootDir>/../node_modules/prettier-2/index.js",
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}