-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·92 lines (92 loc) · 3.92 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
{
"name": "nestjs-monorepo-v2",
"version": "0.0.1",
"description": "",
"author": "",
"private": true,
"license": "UNLICENSED",
"workspaces": {
"packages": [
"./src/**"
]
},
"scripts": {
"prepare": "husky",
"build": "nest build",
"prettier": "prettier --write \"**/*.json\"",
"dev": "nest start",
"start:user:prd": "node dist/apps/user/main",
"start:cat:prd": "node dist/apps/cat/main",
"start:auth:prd": "node dist/apps/auth/main",
"start:user": "nest start @app/user --debug --watch",
"start:auth": "nest start @app/auth --debug --watch",
"start:cat": "nest start @app/cat --debug --watch",
"test": "jest --config=\"./jest.config.ts\" --detectOpenHandles",
"test:cov": "jest --config=\"./jest-coverage.config.ts\" --coverage --detectOpenHandles && yarn make-badges",
"lint": "eslint \"src/**/*.ts\" --fix",
"infra": "docker-compose -f docker-compose-infra.yml up --build",
"typeorm": "ts-node -r tsconfig-paths/register \"./node_modules/typeorm/cli.js\"",
"install:dev": "yarn && concurrently \"yarn workspace @app/tools.eslint install\" \"yarn workspace @app/utils install\" \"yarn workspace @app/libs install\" \"yarn workspace @app/infra install\" \"yarn workspace @app/user install\" \"yarn workspace @app/auth install\" \"yarn workspace @app/cat install\"",
"install:prd": "yarn && concurrently \"yarn workspace @app/utils install\" \"yarn workspace @app/libs install\" \"yarn workspace @app/infra install\" \"yarn workspace @app/user install\" \"yarn workspace @app/auth install\" \"yarn workspace @app/cat install\"",
"migration-postgres:create": "yarn typeorm migration:create \"./src/infra/database/postgres/migrations/rename\"",
"migration-postgres:run": "yarn typeorm migration:run -d ./src/infra/database/postgres/config --transaction none",
"migration-postgres:undo": "yarn typeorm migration:revert -d ./src/infra/database/postgres/config --transaction none",
"migration-mongo:create": "ts-node -r tsconfig-paths/register ./src/infra/database/mongo/config.ts new -n rename",
"migration-mongo:run": "ts-node -r tsconfig-paths/register ./src/infra/database/mongo/config.ts up",
"migration-mongo:undo": "ts-node -r tsconfig-paths/register ./src/infra/database/mongo/config.ts down",
"migration:run": "concurrently \"npm run migration-postgres:run\" \"npm run migration-mongo:run\"",
"make-badges": "istanbul-badges-readme"
},
"dependencies": {
"@nestjs/common": "^10.0.0",
"@nestjs/config": "^3.3.0",
"@nestjs/core": "^10.0.0",
"@nestjs/event-emitter": "^2.1.1",
"@nestjs/platform-express": "^10.0.0",
"@nestjs/swagger": "^8.0.7",
"axios": "^1.7.7",
"colorette": "^2.0.20",
"compression": "^1.7.5",
"helmet": "^8.0.0",
"mongoose": "^8.8.2",
"pg": "^8.13.1",
"pg-hstore": "^2.3.4",
"reflect-metadata": "^0.2.0",
"rxjs": "^7.8.1",
"typeorm": "^0.3.20",
"zod": "^3.23.8"
},
"devDependencies": {
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@nestjs/cli": "^10.0.0",
"@nestjs/schematics": "^10.0.0",
"@nestjs/testing": "^10.0.0",
"@swc/cli": "^0.5.0",
"@swc/core": "^1.9.2",
"@swc/jest": "^0.2.37",
"@types/compression": "^1.7.5",
"@types/express": "^5.0.0",
"@types/jest": "^29.5.2",
"@types/node": "^20.3.1",
"@types/supertest": "^6.0.0",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"concurrently": "^9.1.0",
"eslint": "^8.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"husky": "^9.1.7",
"istanbul-badges-readme": "^1.9.0",
"jest": "^29.5.0",
"lint-staged": "^15.2.10",
"prettier": "^3.0.0",
"source-map-support": "^0.5.21",
"supertest": "^7.0.0",
"ts-jest": "^29.1.0",
"ts-loader": "^9.4.3",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.1.3"
}
}