-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
242 lines (242 loc) · 9.8 KB
/
Copy pathpackage.json
File metadata and controls
242 lines (242 loc) · 9.8 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
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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
{
"name": "@lenne.tech/nest-server",
"version": "11.41.0",
"description": "Modern, fast, powerful Node.js web framework in TypeScript based on Nest with a GraphQL API and a connection to MongoDB (or other databases).",
"keywords": [
"node",
"nest",
"server",
"mongodb",
"graphql",
"typescript"
],
"author": "lenne.Tech <info@lenne.tech> (https://lenne.tech)",
"homepage": "https://github.com/lenneTech/nest-server",
"license": "MIT",
"scripts": {
"build": "rimraf dist && nest build && pnpm run build:copy-types && pnpm run build:copy-templates && pnpm run build:add-type-references && pnpm run build:framework-api",
"build:add-type-references": "node scripts/add-type-references.js",
"build:copy-templates": "mkdir -p dist/core/modules/migrate/templates && cp src/core/modules/migrate/templates/migration-project.template.ts dist/core/modules/migrate/templates/",
"build:copy-types": "mkdir -p dist/types && cp src/types/*.d.ts dist/types/",
"build:dev": "pnpm run build",
"build:framework-api": "tsx scripts/generate-framework-api.ts",
"build:pack": "pnpm pack && echo 'use file:/ROOT_PATH_TO_TGZ_FILE to integrate the package'",
"c": "pnpm run check",
"cf": "pnpm run check:fix",
"check": "node scripts/check.mjs",
"check:consumer": "node scripts/check-consumer.mjs",
"check:fix": "pnpm install && pnpm run spectaql:sync && pnpm audit --fix && pnpm run check:overrides && pnpm peers check && pnpm run format && pnpm run lint:fix && pnpm run typecheck:tests && pnpm run check:swc-tdz && pnpm test && pnpm run build && pnpm run check:manifest && bash scripts/check-server-start.sh",
"check:manifest": "node scripts/check-package-manifest.mjs",
"check:mutations": "node scripts/check-mutations.mjs",
"check:naf": "pnpm install && pnpm run spectaql:sync && pnpm run check:overrides && pnpm peers check && pnpm run format && pnpm run lint:fix && pnpm run typecheck:tests && pnpm run check:swc-tdz && pnpm test && pnpm run build && pnpm run check:manifest && bash scripts/check-server-start.sh",
"check:overrides": "node scripts/check-overrides.mjs",
"check:raw": "pnpm install --frozen-lockfile && pnpm run spectaql:sync && pnpm audit && pnpm run check:overrides && pnpm peers check && pnpm run format:check && pnpm run lint && pnpm run typecheck:tests && pnpm run check:swc-tdz && pnpm test && pnpm run build && pnpm run check:manifest && bash scripts/check-server-start.sh",
"check:swc-tdz": "nest build -b swc -p tsconfig.swc-tdz.json && node scripts/check-swc-tdz.mjs",
"cnaf": "pnpm run check:naf",
"docs": "pnpm run docs:ci && open http://127.0.0.1:8080/ && open ./public/index.html && compodoc -p tsconfig.json -s ",
"docs:bootstrap": "node extras/update-spectaql-version.mjs && node scripts/run-spectaql.mjs",
"docs:ci": "ts-node ./scripts/init-server.ts && pnpm run docs:bootstrap && compodoc -p tsconfig.json",
"format": "oxfmt --write src/ scripts/",
"format:check": "oxfmt --check src/ scripts/",
"lint": "oxlint --ignore-path .oxlintignore src/ tests/ scripts/",
"lint:fix": "oxlint --fix --fix-suggestions --ignore-path .oxlintignore src/ tests/ scripts/",
"prepack": "pnpm run prestart:prod",
"prepublishOnly": "pnpm run lint && pnpm run test:ci",
"prestart:prod": "pnpm run build",
"preversion": "pnpm run lint",
"reinit": "rimraf pnpm-lock.yaml && rimraf node_modules && pnpm install && pnpm run lint && pnpm run test:e2e && pnpm run test:ci && pnpm run build",
"reinit:clean": "rimraf pnpm-lock.yaml && rimraf node_modules && pnpm store prune && pnpm install && pnpm run test:e2e && pnpm run build",
"reinit:force": "rimraf pnpm-lock.yaml && rimraf node_modules && pnpm store prune && pnpm install --force && pnpm run test:e2e",
"reinit:legacy": "rimraf pnpm-lock.yaml && rimraf node_modules && pnpm store prune && pnpm install && pnpm run test:e2e",
"spectaql:sync": "node extras/update-spectaql-version.mjs",
"start": "pnpm run start:local",
"start:debug": "nodemon --config nodemon-debug.json",
"start:dev": "nodemon",
"start:dev:swc": "nest start -b swc -w --type-check",
"start:local": "NODE_ENV=local nodemon",
"start:local:swc": "NODE_ENV=local nest start -b swc -w --type-check",
"start:nodemon": "ts-node -r tsconfig-paths/register src/main.ts",
"start:prod": "NODE_ENV=production node dist/main.js",
"test": "pnpm run vitest:unit && pnpm run vitest",
"test:ci": "pnpm run vitest:unit && pnpm run vitest:ci",
"test:cleanup": "find tests -type f \\( -name '*.txt' -o -name '*.bin' -o -name '*.png' \\) -not -name '.gitkeep' -delete && echo 'Test artifacts cleaned up'",
"test:cov": "pnpm run vitest:unit:cov && pnpm run vitest:cov",
"test:e2e": "pnpm run vitest",
"test:infra": "node scripts/test-infra.mjs up",
"test:infra:down": "node scripts/test-infra.mjs down",
"test:infra:status": "node scripts/test-infra.mjs status",
"test:types": "tsc --noEmit --skipLibCheck -p tests/types/tsconfig.json",
"test:unit:watch": "vitest --config vitest.config.ts",
"typecheck:tests": "tsc --noEmit -p tsconfig.tests.json",
"vitest": "NODE_ENV=e2e vitest run --config vitest-e2e.config.ts",
"vitest:ci": "NODE_ENV=ci vitest run --config vitest-e2e.config.ts",
"vitest:cov": "NODE_ENV=e2e vitest run --coverage --config vitest-e2e.config.ts",
"vitest:unit": "vitest run --config vitest.config.ts",
"vitest:unit:cov": "vitest run --coverage --config vitest.config.ts",
"vitest:watch": "NODE_ENV=e2e vitest --config vitest-e2e.config.ts",
"watch": "npm-watch"
},
"repository": {
"type": "git",
"url": "https://github.com/lenneTech/nest-server"
},
"bugs": {
"url": "https://github.com/lenneTech/nest-server/issues"
},
"engines": {
"node": ">= 22.12",
"pnpm": "^11.0.0"
},
"packageManager": "pnpm@11.13.1+sha512.b2fc7683b8a6525414e7d13e1ba28caaddde96bf66ec540bfaeb7e702b81f3e0be4d1f295edf7f9fe0396740a8dce4509c582ddf79891f4543fea32d37645f25",
"dependencies": {
"@apollo/server": "5.5.1",
"@as-integrations/express5": "1.1.2",
"@getbrevo/brevo": "6.0.3",
"@modelcontextprotocol/sdk": "1.30.0",
"@nestjs/apollo": "13.4.5",
"@nestjs/common": "11.2.1",
"@nestjs/core": "11.2.1",
"@nestjs/graphql": "13.4.5",
"@nestjs/jwt": "11.0.2",
"@nestjs/mongoose": "11.0.4",
"@nestjs/passport": "11.0.5",
"@nestjs/platform-express": "11.2.1",
"@nestjs/schedule": "6.1.3",
"@nestjs/swagger": "11.4.7",
"@nestjs/terminus": "11.1.1",
"@tus/file-store": "2.1.1",
"@tus/server": "2.4.4",
"@types/supertest": "7.2.1",
"bcrypt": "6.0.0",
"class-transformer": "0.5.1",
"class-validator": "0.15.1",
"compression": "1.8.1",
"cookie-parser": "1.4.7",
"cron": "4.4.0",
"dotenv": "17.4.2",
"ejs": "6.0.1",
"express": "5.2.1",
"graphql": "16.14.0",
"graphql-query-complexity": "2.0.0",
"graphql-subscriptions": "3.0.0",
"graphql-upload": "15.0.2",
"graphql-ws": "6.2.1",
"jose": "6.2.9",
"js-sha256": "1.0.0",
"json-to-graphql-query": "2.3.0",
"lodash": "4.18.1",
"mongodb": "7.5.0",
"mongoose": "9.9.3",
"multer": "2.2.0",
"node-mailjet": "6.0.11",
"nodemailer": "9.0.5",
"passport": "0.7.0",
"passport-jwt": "4.0.1",
"reflect-metadata": "0.2.2",
"rfdc": "1.4.1",
"rxjs": "7.8.2",
"supertest": "7.2.2",
"ts-morph": "28.0.0",
"ws": "8.21.3",
"yuml-diagram": "1.2.0"
},
"peerDependencies": {
"@aws-sdk/client-s3": ">=3.1045.0 <4",
"@aws-sdk/s3-request-presigner": ">=3.1045.0 <4",
"@better-auth/core": ">=1.7.1 <1.8.0",
"@better-auth/passkey": ">=1.7.1 <1.8.0",
"@tus/s3-store": ">=2.0.5 <3",
"better-auth": ">=1.7.1 <1.8.0",
"bullmq": ">=5.16.0 <7",
"ioredis": ">=5.0.0 <7"
},
"peerDependenciesMeta": {
"@aws-sdk/client-s3": {
"optional": true
},
"@aws-sdk/s3-request-presigner": {
"optional": true
},
"@better-auth/core": {
"optional": false
},
"@better-auth/passkey": {
"optional": false
},
"@tus/s3-store": {
"optional": true
},
"better-auth": {
"optional": false
},
"bullmq": {
"optional": true
},
"ioredis": {
"optional": true
}
},
"devDependencies": {
"@aws-sdk/client-s3": "3.1115.0",
"@aws-sdk/s3-request-presigner": "3.1115.0",
"@better-auth/core": "1.7.1",
"@better-auth/passkey": "1.7.1",
"@compodoc/compodoc": "2.0.0",
"@nestjs/cli": "11.0.24",
"@nestjs/schematics": "11.1.0",
"@nestjs/testing": "11.2.1",
"@swc/cli": "0.8.1",
"@swc/core": "1.16.1",
"@tus/s3-store": "2.0.6",
"@types/compression": "1.8.1",
"@types/cookie-parser": "1.4.10",
"@types/ejs": "3.1.5",
"@types/express": "5.0.6",
"@types/lodash": "4.17.25",
"@types/multer": "2.2.0",
"@types/node": "26.2.0",
"@types/nodemailer": "8.0.1",
"@types/passport": "1.0.17",
"@vitest/coverage-v8": "4.1.11",
"ansi-colors": "4.1.3",
"better-auth": "1.7.1",
"bullmq": "6.2.0",
"find-file-up": "2.0.1",
"husky": "9.1.7",
"ioredis": "6.0.0",
"nodemon": "3.1.14",
"npm-watch": "0.13.0",
"otpauth": "9.5.1",
"oxfmt": "0.64.0",
"oxlint": "1.79.0",
"rimraf": "6.1.3",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"tsx": "4.23.12",
"tus-js-client": "4.3.1",
"typescript": "5.9.3",
"unplugin-swc": "1.5.11",
"vite": "8.2.2",
"vite-plugin-node": "8.0.0",
"vitest": "4.1.11"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"nest-migrate": "./bin/migrate.js",
"migrate": "./bin/migrate.js"
},
"files": [
"dist/**/*",
"src/**/*",
"bin/**/*",
"CLAUDE.md",
"FRAMEWORK-API.md",
".claude/rules/**/*",
"docs/**/*",
"migration-guides/**/*"
],
"watch": {
"build:dev": "src"
}
}