forked from hngprojects/hng_boilerplate_nestjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
164 lines (162 loc) · 5.33 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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
{
"name": "hng_boilerplate_nestjs",
"version": "0.0.1",
"description": "",
"author": "",
"private": true,
"license": "UNLICENSED",
"scripts": {
"build": "nest build",
"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/src/main",
"dev": "PROFILE=local ./node_modules/.bin/ts-node-dev -r dotenv/config --respawn src/main",
"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 install",
"check-format": "prettier --check .",
"check-lint": "eslint . --ext ts --ext tsx --ext js",
"typeorm": "npx typeorm -- -d dist/DB/migrate.ts",
"migration:create": "npx typeorm migration:create db/migrations/migration",
"premigration:generate": "npm run build",
"migration:generate": "npm run build && npx typeorm migration:generate db/migrations/migration -d dist/src/database/data-source",
"premigration:run": "npm run build",
"migration:run": "npx typeorm migration:run -d dist/src/database/data-source",
"migration:revert": "npx typeorm migration:revert -d dist/src/database/data-source",
"seed": "ts-node src/seed.ts",
"postinstall": "npm install --platform=linux --arch=x64 sharp"
},
"dependencies": {
"@google/generative-ai": "^0.22.0",
"@nestjs/axios": "^4.0.0",
"@nestjs/bull": "^11.0.2",
"@nestjs/config": "^4.0.0",
"@nestjs/core": "^11.0.10",
"@nestjs/jwt": "^11.0.0",
"@nestjs/passport": "^11.0.5",
"@nestjs/platform-express": "^11.0.10",
"@nestjs/schedule": "^5.0.1",
"@nestjs/serve-static": "^5.0.3",
"@nestjs/swagger": "^11.0.5",
"@nestjs/typeorm": "^11.0.0",
"@types/nodemailer": "^6.4.17",
"@types/speakeasy": "^2.0.10",
"@vitalets/google-translate-api": "^9.2.1",
"aws-sdk": "^2.1692.0",
"bcrypt": "^5.1.1",
"bcryptjs": "^3.0.2",
"bull": "^4.16.5",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"csv-writer": "^1.6.0",
"date-fns": "^4.1.0",
"file-type-mime": "^0.4.6",
"google-auth-library": "^9.15.1",
"handlebars": "^4.7.8",
"html-validator": "^5.1.18",
"ioredis": "^5.5.0",
"joi": "^17.13.3",
"module-alias": "^2.2.3",
"multer": "^1.4.5-lts.1",
"nestjs-form-data": "^1.9.93",
"nestjs-pino": "^4.3.1",
"nodemailer": "^6.10.0",
"passport": "^0.7.0",
"passport-google-oauth20": "^2.0.0",
"passport-jwt": "^4.0.1",
"pg": "^8.13.3",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.2",
"sharp": "^0.33.5",
"speakeasy": "^2.0.0",
"supertest": "^7.0.0",
"typeorm": "^0.3.20",
"types-joi": "^2.1.0",
"uuid": "^11.1.0",
"xlsx": "^0.18.5"
},
"devDependencies": {
"@commitlint/cli": "^19.7.1",
"@commitlint/config-conventional": "^19.7.1",
"@nestjs-modules/mailer": "^1.6.1",
"@nestjs/cli": "^11.0.5",
"@nestjs/common": "^11.0.10",
"@nestjs/schematics": "^11.0.1",
"@nestjs/testing": "^11.0.10",
"@types/bcrypt": "^5.0.2",
"@types/express": "^5.0.0",
"@types/jest": "^29.5.14",
"@types/multer": "^1.4.12",
"@types/node": "^22.13.5",
"@types/passport-google-oauth2": "^0.1.10",
"@types/passport-jwt": "^4.0.1",
"@types/speakeasy": "^2.0.10",
"@types/supertest": "^6.0.2",
"@typescript-eslint/eslint-plugin": "^8.25.0",
"@typescript-eslint/parser": "^8.25.0",
"eslint": "^9.21.0",
"eslint-config-prettier": "^10.0.2",
"eslint-import-resolver-typescript": "^3.8.3",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^5.2.3",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^15.4.3",
"prettier": "^3.5.2",
"source-map-support": "^0.5.21",
"ts-jest": "^29.2.6",
"ts-loader": "^9.5.2",
"ts-node": "^10.9.2",
"ts-node-dev": "^2.0.0",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.7.3"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node",
"moduleNameMapper": {
"^@database/(.*)$": "<rootDir>/database/$1",
"^@entities/(.*)$": "<rootDir>/entities/$1",
"^@guards/(.*)$": "<rootDir>/guards/$1",
"^@modules/(.*)$": "<rootDir>/modules/$1",
"^@tests/(.*)$": "<rootDir>/run-tests/$1",
"^@shared/(.*)$": "<rootDir>/shared/$1",
"^@utils/(.*)$": "<rootDir>/utils/$1",
"^@config/(.*)$": "<rootDir>/../config/$1",
"^@src-uploads/(.*)$": "<rootDir>/uploads/$1"
}
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
},
"_moduleAliases": {
"@database": "./src/database",
"@entities": "./src/entities",
"@guards": "./src/guards",
"@modules": "./src/modules",
"@tests": "./src/run-tests/",
"@shared": "./src/shared",
"@utils": "./src/utils",
"@config": "./config",
"@src-uploads": "./src/uploads"
}
}