|
1 | 1 | {
|
2 | 2 | "name": "@app/api-gateway",
|
3 | 3 | "version": "0.0.1",
|
4 |
| - "description": "", |
5 |
| - "author": "", |
6 | 4 | "private": true,
|
| 5 | + "description": "", |
7 | 6 | "license": "UNLICENSED",
|
| 7 | + "author": "", |
8 | 8 | "scripts": {
|
9 | 9 | "build": "nest build",
|
| 10 | + "dev": "nest start --watch", |
10 | 11 | "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
| 12 | + "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", |
11 | 13 | "start": "nest start",
|
12 |
| - "dev": "nest start --watch", |
13 | 14 | "start:debug": "nest start --debug --watch",
|
14 | 15 | "start:prod": "node dist/main",
|
15 |
| - "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", |
16 | 16 | "test": "jest",
|
17 |
| - "test:watch": "jest --watch", |
18 | 17 | "test:cov": "jest --coverage",
|
19 | 18 | "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
|
20 |
| - "test:e2e": "jest --config ./test/jest-e2e.json" |
21 |
| - }, |
22 |
| - "dependencies": { |
23 |
| - "@nestjs/common": "^10.0.0", |
24 |
| - "@nestjs/core": "^10.0.0", |
25 |
| - "@nestjs/platform-express": "^10.0.0", |
26 |
| - "reflect-metadata": "^0.2.0", |
27 |
| - "rxjs": "^7.8.1" |
28 |
| - }, |
29 |
| - "devDependencies": { |
30 |
| - "@app/tsconfig": "workspace:*", |
31 |
| - "@nestjs/cli": "^10.0.0", |
32 |
| - "@nestjs/schematics": "^10.0.0", |
33 |
| - "@nestjs/testing": "^10.0.0", |
34 |
| - "@types/express": "^4.17.17", |
35 |
| - "@types/jest": "^29.5.2", |
36 |
| - "@types/node": "catalog:", |
37 |
| - "@types/supertest": "^6.0.0", |
38 |
| - "@typescript-eslint/eslint-plugin": "^8.0.0", |
39 |
| - "@typescript-eslint/parser": "^8.0.0", |
40 |
| - "eslint": "catalog:nestjs", |
41 |
| - "eslint-config-prettier": "^9.0.0", |
42 |
| - "eslint-plugin-prettier": "^5.0.0", |
43 |
| - "jest": "^29.5.0", |
44 |
| - "prettier": "catalog:", |
45 |
| - "source-map-support": "^0.5.21", |
46 |
| - "supertest": "^7.0.0", |
47 |
| - "ts-jest": "^29.1.0", |
48 |
| - "ts-loader": "^9.4.3", |
49 |
| - "ts-node": "^10.9.1", |
50 |
| - "tsconfig-paths": "^4.2.0", |
51 |
| - "typescript": "catalog:" |
| 19 | + "test:e2e": "jest --config ./test/jest-e2e.json", |
| 20 | + "test:watch": "jest --watch" |
52 | 21 | },
|
53 | 22 | "jest": {
|
| 23 | + "collectCoverageFrom": [ |
| 24 | + "**/*.(t|j)s" |
| 25 | + ], |
| 26 | + "coverageDirectory": "../coverage", |
54 | 27 | "moduleFileExtensions": [
|
55 | 28 | "js",
|
56 | 29 | "json",
|
57 | 30 | "ts"
|
58 | 31 | ],
|
59 | 32 | "rootDir": "src",
|
| 33 | + "testEnvironment": "node", |
60 | 34 | "testRegex": ".*\\.spec\\.ts$",
|
61 | 35 | "transform": {
|
62 | 36 | "^.+\\.(t|j)s$": "ts-jest"
|
63 |
| - }, |
64 |
| - "collectCoverageFrom": [ |
65 |
| - "**/*.(t|j)s" |
66 |
| - ], |
67 |
| - "coverageDirectory": "../coverage", |
68 |
| - "testEnvironment": "node" |
| 37 | + } |
| 38 | + }, |
| 39 | + "prettier": "@app/prettier-config", |
| 40 | + "dependencies": { |
| 41 | + "@fastify/multipart": "catalog:nestjs", |
| 42 | + "@fastify/static": "catalog:nestjs", |
| 43 | + "@nestjs/common": "catalog:nestjs", |
| 44 | + "@nestjs/config": "catalog:nestjs", |
| 45 | + "@nestjs/core": "catalog:nestjs", |
| 46 | + "@nestjs/microservices": "catalog:nestjs", |
| 47 | + "@nestjs/platform-fastify": "catalog:nestjs", |
| 48 | + "class-transformer": "catalog:nestjs", |
| 49 | + "class-validator": "catalog:nestjs", |
| 50 | + "nats": "catalog:nestjs", |
| 51 | + "reflect-metadata": "catalog:nestjs", |
| 52 | + "rxjs": "catalog:nestjs", |
| 53 | + "zod": "catalog:" |
| 54 | + }, |
| 55 | + "devDependencies": { |
| 56 | + "@app/constants": "workspace:*", |
| 57 | + "@app/eslint-config-nest": "workspace:*", |
| 58 | + "@app/tsconfig": "workspace:*", |
| 59 | + "@nestjs/cli": "catalog:nestjs", |
| 60 | + "@nestjs/schematics": "catalog:nestjs", |
| 61 | + "@nestjs/testing": "catalog:nestjs", |
| 62 | + "@types/jest": "catalog:", |
| 63 | + "@types/node": "catalog:", |
| 64 | + "@types/supertest": "catalog:nestjs", |
| 65 | + "eslint": "catalog:nestjs", |
| 66 | + "jest": "catalog:", |
| 67 | + "prettier": "catalog:", |
| 68 | + "source-map-support": "catalog:nestjs", |
| 69 | + "supertest": "catalog:nestjs", |
| 70 | + "ts-jest": "catalog:nestjs", |
| 71 | + "ts-loader": "catalog:nestjs", |
| 72 | + "ts-node": "catalog:nestjs", |
| 73 | + "tsconfig-paths": "catalog:nestjs", |
| 74 | + "typescript": "catalog:" |
69 | 75 | }
|
70 | 76 | }
|
0 commit comments