-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
192 lines (192 loc) · 7.22 KB
/
package.json
File metadata and controls
192 lines (192 loc) · 7.22 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
{
"name": "@lenne.tech/nest-server",
"version": "11.17.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",
"build:copy-types": "mkdir -p dist/types && cp src/types/*.d.ts dist/types/",
"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:add-type-references": "node scripts/add-type-references.js",
"build:pack": "pnpm pack && echo 'use file:/ROOT_PATH_TO_TGZ_FILE to integrate the package'",
"build:dev": "pnpm run build",
"c": "pnpm run check",
"check": "pnpm audit && pnpm run format:check && pnpm run lint && pnpm test && pnpm run build && pnpm start",
"check:fix": "pnpm install && pnpm audit --fix && pnpm run format && pnpm run lint:fix && pnpm test && pnpm run build && pnpm start",
"check:naf": "pnpm install && pnpm run format && pnpm run lint:fix && pnpm test && pnpm run build && pnpm start",
"cf": "pnpm run check:fix",
"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/",
"format:check": "oxfmt --check src/",
"lint": "oxlint --ignore-path .oxlintignore src/ tests/",
"lint:fix": "oxlint --fix --fix-suggestions --ignore-path .oxlintignore src/ tests/",
"prestart:prod": "pnpm run build",
"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",
"start": "pnpm run start:local",
"start:prod": "NODE_ENV=production node dist/main.js",
"start:nodemon": "ts-node -r tsconfig-paths/register src/main.ts",
"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",
"test": "pnpm run vitest",
"test:ci": "pnpm run vitest:ci",
"test:e2e": "pnpm run vitest",
"prepack": "pnpm run prestart:prod",
"prepublishOnly": "pnpm run lint && pnpm run test:ci",
"preversion": "pnpm run lint",
"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:watch": "NODE_ENV=e2e vitest --config vitest-e2e.config.ts",
"vitest:unit": "vitest run --config vitest.config.ts",
"test:unit:watch": "vitest --config vitest.config.ts",
"test:types": "tsc --noEmit --skipLibCheck -p tests/types/tsconfig.json",
"test:cleanup": "find tests -type f \\( -name '*.txt' -o -name '*.bin' \\) -not -name '.gitkeep' -delete && echo 'Test artifacts cleaned up'",
"watch": "npm-watch"
},
"repository": {
"type": "git",
"url": "https://github.com/lenneTech/nest-server"
},
"bugs": {
"url": "https://github.com/lenneTech/nest-server/issues"
},
"engines": {
"node": ">= 20"
},
"dependencies": {
"@apollo/server": "5.4.0",
"@as-integrations/express5": "1.1.2",
"@better-auth/passkey": "1.4.18",
"@getbrevo/brevo": "3.0.1",
"@nestjs/apollo": "13.2.4",
"@nestjs/common": "11.1.13",
"@nestjs/core": "11.1.13",
"@nestjs/graphql": "13.2.4",
"@nestjs/jwt": "11.0.2",
"@nestjs/mongoose": "11.0.4",
"@nestjs/passport": "11.0.5",
"@nestjs/platform-express": "11.1.13",
"@nestjs/schedule": "6.1.1",
"@nestjs/swagger": "11.2.6",
"@nestjs/terminus": "11.0.0",
"@nestjs/websockets": "11.1.13",
"@tus/file-store": "2.0.0",
"@tus/server": "2.3.0",
"apollo-server-core": "3.13.0",
"bcrypt": "6.0.0",
"better-auth": "1.4.18",
"class-transformer": "0.5.1",
"class-validator": "0.14.3",
"compression": "1.8.1",
"cookie-parser": "1.4.7",
"dotenv": "17.2.4",
"ejs": "4.0.1",
"express": "5.2.1",
"graphql": "16.12.0",
"graphql-query-complexity": "1.1.0",
"graphql-subscriptions": "3.0.0",
"graphql-upload": "15.0.2",
"js-sha256": "0.11.1",
"json-to-graphql-query": "2.3.0",
"lodash": "4.17.23",
"mongodb": "7.0.0",
"mongoose": "9.1.6",
"multer": "2.0.2",
"node-mailjet": "6.0.11",
"nodemailer": "8.0.1",
"passport": "0.7.0",
"passport-jwt": "4.0.1",
"reflect-metadata": "0.2.2",
"rfdc": "1.4.1",
"rxjs": "7.8.2",
"yuml-diagram": "1.2.0"
},
"devDependencies": {
"@compodoc/compodoc": "1.2.1",
"@nestjs/cli": "11.0.16",
"@nestjs/schematics": "11.0.9",
"@nestjs/testing": "11.1.13",
"@swc/cli": "0.7.10",
"@swc/core": "1.15.11",
"@types/compression": "1.8.1",
"@types/cookie-parser": "1.4.10",
"@types/ejs": "3.1.5",
"@types/express": "4.17.21",
"@types/lodash": "4.17.23",
"@types/multer": "2.0.0",
"@types/node": "25.2.2",
"@types/nodemailer": "7.0.9",
"@types/passport": "1.0.17",
"@types/supertest": "6.0.3",
"@vitest/coverage-v8": "4.0.18",
"@vitest/ui": "4.0.18",
"ansi-colors": "4.1.3",
"find-file-up": "2.0.1",
"husky": "9.1.7",
"nodemon": "3.1.11",
"npm-watch": "0.13.0",
"otpauth": "9.5.0",
"oxfmt": "0.28.0",
"oxlint": "1.43.0",
"rimraf": "6.1.2",
"supertest": "7.2.2",
"ts-loader": "9.5.4",
"ts-morph": "27.0.2",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"tus-js-client": "4.3.1",
"typescript": "5.9.3",
"unplugin-swc": "1.5.9",
"vite": "7.3.1",
"vite-plugin-node": "7.0.0",
"vite-tsconfig-paths": "6.1.0",
"vitest": "4.0.18"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"nest-migrate": "./bin/migrate.js",
"migrate": "./bin/migrate.js"
},
"files": [
"dist/**/*",
"src/**/*",
"bin/**/*"
],
"watch": {
"build:dev": "src"
},
"packageManager": "pnpm@10.29.2",
"pnpm": {
"overrides": {
"qs": "6.14.2"
},
"onlyBuiltDependencies": [
"bcrypt",
"@swc/core",
"esbuild",
"@nestjs/core",
"@compodoc/compodoc",
"@apollo/protobufjs"
]
}
}