-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
139 lines (139 loc) · 4.61 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
{
"name": "hoit",
"version": "0.0.1",
"description": "",
"author": "",
"private": true,
"license": "UNLICENSED",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"build:api": "tsc -p tsconfig.api.json",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "jest --detectOpenHandles",
"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 ./src/test/e2e/jest-e2e.json --detectOpenHandles --forceExit",
"test:e2e:nestia": "rimraf bin && tsc -p test/tsconfig.json && node bin/test",
"publish": "cd packages/api/lib && npm publish",
"docker:build": "docker build -t hoit/api-server .",
"docker:start": "docker run -p 8000:8000 hoit/api-server:latest",
"docker:stop": "docker stop $(docker ps -a -q)",
"docker:build:test": "docker build -t hoit/api-server:test -f ./dockerfile.test .",
"docker:test": "docker run -p 8000:8000 hoit/api-server:test pnpm run test",
"docker:test:e2e": "docker run -p 8000:8000 hoit/api-server:test pnpm run test:e2e",
"docker:build:dev": "docker build -t hoit/api-server:dev -f ./dockerfile.dev .",
"docker:dev": "docker run -p 8000:8000 hoit/api-server:dev",
"decker:build:local": "docker build -t hoit/api-server:local -f ./dockerfile.local .",
"decker:local": "docker run -p 8000:8000 hoit/api-server:local",
"db:push": "npx prisma db push",
"db:generate": "npx prisma generate",
"db:pull": "npx prisma db pull",
"prepare": "npx husky install"
},
"dependencies": {
"@kafkajs/confluent-schema-registry": "^3.3.0",
"@nestia/core": "^2.0.5",
"@nestia/fetcher": "^2.0.5",
"@nestjs/cache-manager": "^2.1.0",
"@nestjs/common": "^10.2.5",
"@nestjs/config": "^3.1.1",
"@nestjs/core": "^10.2.5",
"@nestjs/event-emitter": "^2.0.3",
"@nestjs/jwt": "^10.1.1",
"@nestjs/microservices": "^10.2.5",
"@nestjs/passport": "^10.0.2",
"@nestjs/platform-express": "^10.2.5",
"@nestjs/schedule": "^3.0.4",
"@nestjs/swagger": "^7.1.12",
"@prisma/client": "5.5.2",
"add": "^2.0.6",
"bcrypt": "^5.1.1",
"cache-manager": "^5.2.3",
"cache-manager-redis-store": "^3.0.1",
"cookie-parser": "^1.4.6",
"dotenv": "^16.3.1",
"express-session": "^1.17.3",
"global": "^4.4.0",
"joi": "^17.10.2",
"kafkajs": "^2.2.4",
"nest-winston": "^1.9.4",
"passport": "^0.6.0",
"passport-jwt": "^4.0.1",
"pnpm": "^8.8.0",
"redis": "^4.6.10",
"reflect-metadata": "^0.1.13",
"rxjs": "^7.8.1",
"typescript-transform-paths": "^3.4.6",
"typia": "^5.0.5",
"uuid": "^9.0.1",
"winston": "^3.10.0",
"winston-daily-rotate-file": "^4.7.1"
},
"devDependencies": {
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"@nestia/e2e": "^0.3.6",
"@nestia/sdk": "^2.0.5",
"@nestjs/cli": "^10.1.18",
"@nestjs/schematics": "^10.0.2",
"@nestjs/testing": "^10.2.5",
"@types/bcrypt": "^5.0.0",
"@types/cookie-parser": "^1.4.4",
"@types/express": "^4.17.17",
"@types/express-session": "^1.17.8",
"@types/jest": "^29.5.5",
"@types/node": "^20.6.3",
"@types/passport": "^1.0.12",
"@types/passport-jwt": "^3.0.9",
"@types/supertest": "^2.0.12",
"@types/uuid": "^9.0.4",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"eslint": "^8.49.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-deprecation": "^2.0.0",
"eslint-plugin-prettier": "^5.0.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"lint-staged": "^14.0.1",
"nestia": "^4.5.0",
"prettier": "^3.0.3",
"prisma": "^5.4.1",
"rimraf": "^5.0.1",
"source-map-support": "^0.5.21",
"supertest": "^6.3.3",
"ts-jest": "^29.1.1",
"ts-loader": "^9.4.4",
"ts-node": "^10.9.1",
"ts-patch": "^3.0.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.2.2"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"lint-staged": {
"**/*.ts": "eslint --fix"
}
}