-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
executable file
·191 lines (191 loc) · 6.59 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
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
{
"name": "@lenne.tech/nest-server",
"version": "10.8.2",
"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 <[email protected]> (https://lenne.tech)",
"homepage": "https://github.com/lenneTech/nest-server",
"license": "MIT",
"scripts": {
"build": "rimraf dist && nest build",
"build:pack": "npm pack && echo 'use file:/ROOT_PATH_TO_TGZ_FILE to integrate the package'",
"build:dev": "npm run build && yalc push --private",
"docs": "npm 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 && npx -y spectaql ./spectaql.yml",
"docs:ci": "ts-node ./scripts/init-server.ts && npm run docs:bootstrap && compodoc -p tsconfig.json",
"format": "prettier --write 'src/**/*.ts'",
"format:staged": "pretty-quick --staged",
"lint": "eslint \"{src,tests}/**/*.ts\" --fix",
"prestart:prod": "npm run build",
"reinit": "rimraf package-lock.json && rimraf node_modules && npm i && npm run lint && npm run test:e2e && npm run test:ci && npm run build",
"reinit:clean": "rimraf package-lock.json && rimraf node_modules && npm cache clean --force && npm i && npm run test:e2e && npm run build",
"reinit:force": "rimraf package-lock.json && rimraf node_modules && npm cache clean --force && npm i --force && npm run test:e2e",
"reinit:legacy": "rimraf package-lock.json && rimraf node_modules && npm cache clean --force && npm i --legacy-peer-deps && npm run test:e2e",
"start": "npm run start:local",
"stop": "./node_modules/.bin/pm2 delete nest",
"start:pm2": "./node_modules/.bin/grunt",
"start:prod": "./node_modules/.bin/grunt production",
"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": "NODE_ENV=local jest",
"test:cov": "NODE_ENV=local jest --coverage",
"test:debug": "NODE_ENV=local node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "NODE_ENV=local jest --config jest-e2e.json --forceExit",
"test:e2e-cov": "NODE_ENV=local jest --config jest-e2e.json --coverage --forceExit",
"test:e2e-doh": "NODE_ENV=local jest --config jest-e2e.json --forceExit --detectOpenHandles",
"test:ci": "NODE_ENV=local jest --config jest-e2e.json --ci --forceExit",
"test:watch": "NODE_ENV=local jest --watch",
"prepack": "npm run prestart:prod",
"prepublishOnly": "npm run lint && npm run test:ci",
"preversion": "npm run lint",
"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/gateway": "2.9.3",
"@getbrevo/brevo": "1.0.1",
"@lenne.tech/mongoose-gridfs": "1.4.2",
"@lenne.tech/multer-gridfs-storage": "5.0.6",
"@nestjs/apollo": "12.2.2",
"@nestjs/common": "10.4.15",
"@nestjs/core": "10.4.15",
"@nestjs/graphql": "12.2.2",
"@nestjs/jwt": "10.2.0",
"@nestjs/mongoose": "10.1.0",
"@nestjs/passport": "10.0.3",
"@nestjs/platform-express": "10.4.15",
"@nestjs/schedule": "4.1.2",
"@nestjs/terminus": "10.2.3",
"apollo-server-core": "3.13.0",
"apollo-server-express": "3.13.0",
"bcrypt": "5.1.1",
"class-transformer": "0.5.1",
"class-validator": "0.14.1",
"compression": "1.7.5",
"cookie-parser": "1.4.7",
"dotenv": "16.4.7",
"ejs": "3.1.10",
"graphql": "16.9.0",
"graphql-query-complexity": "1.0.0",
"graphql-subscriptions": "3.0.0",
"graphql-upload": "15.0.2",
"js-sha256": "0.11.0",
"json-to-graphql-query": "2.3.0",
"light-my-request": "6.3.0",
"lodash": "4.17.21",
"mongodb": "6.11.0",
"mongoose": "7.8.3",
"multer": "1.4.5-lts.1",
"node-mailjet": "6.0.6",
"nodemailer": "6.9.16",
"nodemon": "3.1.7",
"passport": "0.7.0",
"passport-jwt": "4.0.1",
"reflect-metadata": "0.2.2",
"rfdc": "1.4.1",
"rimraf": "6.0.1",
"rxjs": "7.8.1",
"yuml-diagram": "1.2.0"
},
"devDependencies": {
"@babel/plugin-proposal-private-methods": "7.18.6",
"@compodoc/compodoc": "1.1.26",
"@lenne.tech/eslint-config-ts": "0.0.16",
"@nestjs/cli": "10.4.9",
"@nestjs/schematics": "10.2.3",
"@nestjs/testing": "10.4.15",
"@swc/cli": "0.5.2",
"@swc/core": "1.10.1",
"@swc/jest": "0.2.37",
"@types/compression": "1.7.5",
"@types/cookie-parser": "1.4.8",
"@types/ejs": "3.1.5",
"@types/express": "4.17.21",
"@types/jest": "29.5.14",
"@types/lodash": "4.17.13",
"@types/multer": "1.4.12",
"@types/node": "22.10.1",
"@types/nodemailer": "6.4.17",
"@types/passport": "1.0.17",
"@types/supertest": "6.0.2",
"@typescript-eslint/eslint-plugin": "6.21.0",
"@typescript-eslint/parser": "6.21.0",
"coffeescript": "2.7.0",
"eslint": "8.57.1",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-unused-imports": "4.1.4",
"find-file-up": "2.0.1",
"grunt": "1.6.1",
"grunt-bg-shell": "2.3.3",
"grunt-contrib-clean": "2.0.1",
"grunt-contrib-watch": "1.1.0",
"grunt-sync": "0.8.2",
"husky": "9.1.7",
"jest": "29.7.0",
"npm-watch": "0.13.0",
"pm2": "5.4.3",
"prettier": "3.4.2",
"pretty-quick": "4.0.0",
"supertest": "7.0.0",
"ts-jest": "29.2.5",
"ts-loader": "9.5.1",
"ts-morph": "24.0.0",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"typescript": "5.7.2",
"yalc": "1.0.0-pre.53"
},
"overrides": {
"multer-gridfs-storage": {
"multer": "$multer"
},
"@lykmapipo/common": {
"flat": "5.0.2",
"mime": "2.6.0"
}
},
"jest": {
"collectCoverage": true,
"coverageDirectory": "../coverage",
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testEnvironment": "node",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
".+\\.(t|j)s$": "ts-jest"
}
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/**/*",
"src/**/*"
],
"watch": {
"build:dev": "src"
}
}