-
-
Notifications
You must be signed in to change notification settings - Fork 380
/
package.json
165 lines (165 loc) · 4.89 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
{
"name": "testing-nestjs",
"version": "0.0.1",
"description": "A repository to show off to the community methods of testing NestJS including Unit Tests, Integration Tests, E2E Tests, pipes, filters, interceptors, GraphQL, Mongo, TypeORM, and more!",
"repository": {
"type": "git",
"url": "git+https://github.com/jmcdo29/testing-nestjs.git"
},
"keywords": [
"Nest",
"Testing",
"Jest",
"Test",
"Unit",
"E2E",
"e2e",
"integration",
"NestJS"
],
"author": "Jay McDoniel <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/jmcdo29/testing-nestjs/issues"
},
"homepage": "https://github.com/jmcdo29/testing-nestjs#readme",
"scripts": {
"commit": "git-cz",
"prebuild": "rimraf dist",
"build": "nest build",
"format": "prettier --write \"apps/**/*.(j|t)s(on)?\"",
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"lint": "eslint \"apps/**/*.ts\" --fix",
"test": "pnpm prisma generate --schema apps/prisma-sample/prisma/schema.prisma && pnpm run nx affected:test",
"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": "./setupPrismaDatabase.sh && pnpm prisma generate --schema apps/prisma-sample/prisma/schema.prisma && DATABASE_URL=postgres://postgres:postgres@localhost:5433/prisma nx run-many --target=e2e --all",
"test:cov:total": "DATABASE_URL=postgres://postgres:postgres@localhost:5433/prisma jest -c jest.cov.js",
"nx": "nx",
"prepare": "husky install"
},
"dependencies": {
"@nestjs/apollo": "12.0.9",
"@nestjs/axios": "3.0.0",
"@nestjs/common": "10.2.5",
"@nestjs/config": "^3.1.0",
"@nestjs/core": "10.2.5",
"@nestjs/cqrs": "^10.2.5",
"@nestjs/graphql": "^12.0.9",
"@nestjs/mapped-types": "^2.0.2",
"@nestjs/microservices": "^10.2.5",
"@nestjs/mongoose": "^10.0.1",
"@nestjs/platform-express": "10.2.5",
"@nestjs/platform-fastify": "^10.2.5",
"@nestjs/platform-socket.io": "^10.2.5",
"@nestjs/platform-ws": "^10.2.5",
"@nestjs/sequelize": "^10.0.0",
"@nestjs/serve-static": "^3.0.0",
"@nestjs/typeorm": "^10.0.0",
"@nestjs/websockets": "^10.2.5",
"@prisma/client": "^3.1.1",
"apollo-server-core": "^3.10.2",
"apollo-server-express": "^3.10.2",
"axios": "1.2.0-alpha.1",
"class-transformer": "^0.5.1",
"class-validator": "^0.13.2",
"graphql": "15.8.0",
"graphql-tools": "7.0.4",
"hbs": "^4.2.0",
"mongoose": "^6.6.5",
"mysql2": "^2.3.3",
"pg": "^8.8.0",
"redis": "^3.0.2",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rxjs": "^7.5.7",
"sequelize": "^6.11.0",
"sequelize-typescript": "^2.1.3",
"socket.io-client": "^4.4.0",
"typeorm": "^0.3.10"
},
"devDependencies": {
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@golevelup/nestjs-testing": "^0.1.2",
"@golevelup/ts-jest": "^0.3.3",
"@nestjs/cli": "^10.1.17",
"@nestjs/schematics": "10.0.2",
"@nestjs/testing": "10.2.5",
"@nrwl/eslint-plugin-nx": "^16.3.1",
"@nrwl/tao": "16.3.1",
"@nx/jest": "16.3.1",
"@nx/nest": "16.3.1",
"@nx/node": "16.3.1",
"@nx/workspace": "16.3.1",
"@types/express": "^4.17.1",
"@types/jest": "29.4.4",
"@types/multer": "^1.4.7",
"@types/node": "18.11.0",
"@types/sequelize": "^4.28.9",
"@types/serve-static": "^1.13.9",
"@types/supertest": "^2.0.11",
"@types/uuid": "^8.3.1",
"@types/validator": "*",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"@typescript-eslint/parser": "^5.39.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.24.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "8.0.1",
"jest": "29.4.3",
"lint-staged": "^10.5.4",
"multer": "1.4.5-lts.1",
"nx": "16.3.1",
"pactum": "^3.2.2",
"prettier": "^2.2.1",
"prisma": "^3.1.1",
"supertest": "^6.3.3",
"ts-jest": "29.1.0",
"ts-loader": "^9.4.1",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.1.0",
"typescript": "5.0.4",
"uuid": "^9.0.0"
},
"lint-staged": {
"*.ts": [
"prettier --write",
"eslint --ext ts"
],
"*.{md,html,json,js}": [
"prettier --write"
]
},
"jest": {
"moduleFileExtensions": [
"js",
"ts"
],
"rootDir": ".",
"testRegex": "[.]spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "./coverage",
"testEnvironment": "node",
"roots": [
"<rootDir>/apps/"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"pnpm": {
"overrides": {
"axios": "next"
}
}
}