-
Notifications
You must be signed in to change notification settings - Fork 462
/
package.json
161 lines (161 loc) · 5.57 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
{
"name": "awesome-nestjs-boilerplate",
"version": "10.0.0",
"description": "Awesome NestJS Boilerplate, Typescript, Postgres, TypeORM",
"author": "Narek Hakobyan <[email protected]>",
"private": true,
"license": "MIT",
"type": "module",
"scripts": {
"build:prod": "nest build -p tsconfig.build.json",
"start:dev": "node --loader ts-node/esm src/main.ts",
"start:nest": "nest start ./src/main.ts",
"start:prod": "node dist/main.js",
"start:dev:bun": "bun run ./src/main.ts",
"watch:bun": "bun run --watch ./src/main.ts",
"build:bun": "bun build --external=class-validator --external=@nestjs/sequelize --external=@mikro-orm/core --external=@nestjs/mongoose --external=mock-aws-s3 --external=hbs --external=aws-sdk --external=nock --external=@nestjs/websockets/socket-module --external=class-transformer --external=@nestjs/microservices --define process.env.NODE_ENV:\"'production'\" --target=bun --minify ./dist/main.js --outdir=dist --format esm ./src/main.ts",
"typeorm": "typeorm-ts-node-esm",
"migration:generate": "yarn run typeorm migration:generate -d ormconfig.ts",
"migration:create": "yarn run typeorm migration:create -d ormconfig.ts",
"new": "hygen new",
"migration:revert": "yarn run typeorm migration:revert",
"schema:drop": "yarn run typeorm schema:drop",
"watch:dev": "nest start --watch ./src/main.ts",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"test": "NODE_ENV=test jest",
"test:watch": "NODE_ENV=test jest --watch",
"test:cov": "NODE_ENV=test jest --coverage",
"test:debug": "NODE_ENV=test node --inspect-brk -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "NODE_ENV=test jest --config ./test/jest-e2e.json",
"docs:dev": "vuepress dev -p 7070",
"docs:build": "DEPLOY_ENV=gh-pages vuepress build",
"docs:deploy": "yarn docs:build && gh-pages -d .vuepress/dist",
"prepare": "husky",
"release": "release-it"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.685.0",
"@nestjs/common": "^10.4.6",
"@nestjs/config": "^3.3.0",
"@nestjs/core": "^10.4.6",
"@nestjs/cqrs": "^10.2.8",
"@nestjs/jwt": "^10.2.0",
"@nestjs/microservices": "^10.4.6",
"@nestjs/passport": "^10.0.3",
"@nestjs/platform-express": "^10.4.6",
"@nestjs/swagger": "^7",
"@nestjs/terminus": "^10.2.3",
"@nestjs/throttler": "^6.2.1",
"@nestjs/typeorm": "^10.0.2",
"bcrypt": "^5.1.1",
"cache-manager-redis-store": "^3.0.1",
"class-transformer": "~0.5.1",
"class-validator": "~0.14.1",
"compression": "^1.7.5",
"express": "^4.21.1",
"helmet": "^8.0.0",
"jsonwebtoken": "^9.0.2",
"libphonenumber-js": "^1.11.12",
"lodash": "^4.17.21",
"mime-types": "^3.0.0",
"morgan": "^1.10.0",
"nestjs-cls": "^4.5.0",
"nestjs-i18n": "^10.5.0",
"parse-duration": "^1.1.0",
"passport": "^0.7.0",
"passport-jwt": "^4.0.1",
"pg": "^8.13.1",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.1",
"source-map-support": "^0.5.21",
"swagger-ui-express": "^5.0.1",
"tslib": "^2.8.1",
"typeorm": "0.3.19",
"typeorm-transactional": "~0.5.0",
"globals": "^15.14.0",
"uuid": "^9.0.1"
},
"devDependencies": {
"@eslint/compat": "^1.2.4",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.17.0",
"@nestjs/cli": "^10.4.9",
"@nestjs/testing": "^10.4.15",
"@stylistic/eslint-plugin-ts": "^2.12.1",
"@swc/cli": "^0.5.2",
"@swc/core": "^1.10.1",
"@swc/plugin-transform-imports": "^6.0.2",
"@types/bcrypt": "^5.0.2",
"@types/cache-manager-redis-store": "^2.0.4",
"@types/compression": "^1.7.5",
"@types/eslint__js": "^8.42.3",
"@types/express": "^5.0.0",
"@types/jest": "^29.5.14",
"@types/jsonwebtoken": "^9.0.7",
"@types/lodash": "^4.17.13",
"@types/mime-types": "^2.1.4",
"@types/morgan": "^1.9.9",
"@types/node": "^22.8.7",
"@types/passport": "^1.0.17",
"@types/passport-jwt": "^4.0.1",
"@types/supertest": "^6.0.2",
"@types/uuid": "^9.0.8",
"@typescript-eslint/eslint-plugin": "^8.12.2",
"@typescript-eslint/parser": "^8.18.2",
"@vuepress/client": "2.0.0-rc.2",
"cross-env": "^7.0.3",
"esbuild": "^0.24.2",
"eslint": "^9.14.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-canonical": "^5.1.2",
"eslint-plugin-deprecation": "^3.0.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-import-helpers": "^2.0.1",
"eslint-plugin-n": "^17.15.1",
"eslint-plugin-no-secrets": "^1.1.2",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-promise": "^7.2.1",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-sonarjs": "^3.0.1",
"eslint-plugin-unicorn": "^56.0.1",
"gh-pages": "^6.2.0",
"husky": "^9.1.6",
"jest": "^29.7.0",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"release-it": "^17.10.0",
"supertest": "^7.0.0",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"tsx": "^4.19.2",
"typescript": "^5.6.3",
"typescript-eslint": "^8.18.2",
"vue": "^3.5.12"
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"git add"
]
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"packageManager": "[email protected]+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610"
}