-
Notifications
You must be signed in to change notification settings - Fork 88
/
package.json
94 lines (94 loc) · 3.22 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
{
"name": "monorepo",
"version": "0.0.22",
"description": "Nestjs monorepo",
"main": "index.js",
"workspaces": {
"packages": [
"./apps/*",
"./libs/*",
"./tools/eslint"
]
},
"author": {
"name": "Mike Lima",
"email": "mike.rodrigues.lima@gmail.com"
},
"homepage": "https://github.com/mikemajesty/nestjs-monorepo#readme",
"repository": {
"type": "git",
"url": "https://github.com/mikemajesty/nestjs-monorepo.git"
},
"engines": {
"node": ">=14 <=16"
},
"private": true,
"scripts": {
"prebuild": "rimraf dist",
"prepare": "husky install",
"build": "nest build",
"infra:local": "docker-compose -f docker-compose-local.yml up --build",
"monorepo:install": "yarn && yarn workspace @tools/eslint.config install && yarn workspace @libs/modules install && yarn workspace @libs/utils install && yarn workspace @libs/core install && yarn workspace @app/cats.api install && yarn workspace @app/auth.api install",
"format": "prettier --write \"apps/**/*.{ts, js, json}\" \"libs/**/*.{ts, js, json}\" ",
"lint": "yarn format && eslint \"apps/**/*.{ts, js, json}\" \"libs/**/*.{ts, js, json}\" --fix",
"test": "jest --detectOpenHandles --maxWorkers=50%",
"test:e2e": "jest --config ./jest.config.e2e.ts --maxWorkers=50%",
"test:coverage": "jest --coverage --detectOpenHandles --maxWorkers=50%",
"commit": "cz",
"start:cats-api:dev": "nest start @app/cats-api --debug --watch",
"start:auth-api:dev": "nest start @app/auth-api --debug --watch",
"start:cats-api:prd": "node dist/apps/cats-api/main.js",
"start:auth-api:prd": "node dist/apps/auth-api/main.js",
"add:module": "monorepo-nestjs-cli --module",
"add:test": "monorepo-nestjs-cli --test",
"add:app": "monorepo-nestjs-cli --app",
"make-badges": "istanbul-badges-readme",
"tag:production": "changelog generate && bash ./update-version.sh && cd deploy && bash ./production-version.sh && cd .."
},
"dependencies": {
"@nestjs/common": "^9.0.11",
"@nestjs/core": "^9.0.11",
"@nestjs/mongoose": "^9.0.1",
"@nestjs/platform-express": "^9.0.11",
"@nestjs/swagger": "^6.1.2",
"class-transformer": "^0.5.1",
"class-validator": "^0.13.2",
"colorette": "^2.0.19",
"luxon": "^2.4.0",
"mongoose": "^6.6.1",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rxjs": "^7.5.6",
"swagger-ui-express": "^4.5.0",
"uuid": "^9.0.0"
},
"devDependencies": {
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@nestjs/cli": "^9.1.3",
"@nestjs/schematics": "^9.0.3",
"@nestjs/testing": "^9.0.11",
"@types/express": "^4.17.13",
"@types/jest": "^29.0.3",
"@types/luxon": "^3.0.1",
"@types/node": "^18.7.18",
"@types/supertest": "^2.0.12",
"cz-conventional-changelog": "^3.3.0",
"husky": "^8.0.1",
"istanbul-badges-readme": "^1.8.2",
"jest": "^27.5.1",
"source-map-support": "^0.5.21",
"supertest": "^6.2.4",
"ts-jest": "^27.0.3",
"ts-loader": "^9.3.1",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.1.0",
"typescript": "^4.7.2"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"license": "MIT"
}