-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
172 lines (172 loc) Β· 6.02 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
{
"name": "nestjs-boilerplate",
"version": "1.1.3",
"private": true,
"description": "NestJs-Boilerplate",
"license": "MIT",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"commit": "cz",
"find-deadcode": "pnpm ts-unused-exports ./tsconfig.json --excludeDeclarationFiles --excludePathsFromReport='generated|.d.ts|jest.config.ts|jest.config.husky.ts|shared/dtos|http/validators|AwsUploaderProvider.ts|test/providers|test/repositories/|env.ts|commitlint.config.ts|plopfile.mjs|eslint.config.mjs'",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"generate": "pnpm plop --plopfile generators/plopfile.mjs",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --max-warnings=0 -f mo",
"lint:fix": "pnpm eslint . --fix --ignore-pattern '**/generated/**/**.ts'",
"lint:interactive": "eslint-nibble \"{src,apps,libs,test}/**/*.ts\"",
"prepare": "husky",
"release": "semantic-release",
"sort:package": "sort-package-json",
"start": "nest start",
"start:debug": "nest start --debug --watch",
"start:dev": "nest start --watch",
"start:prod": "node dist/main",
"test": "jest --config jest.config.ts",
"test:ci": "jest --config jest.config.ts --runInBand",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json",
"test:watch": "jest --watch",
"typecheck": "tsc --noEmit"
},
"husky": {
"hooks": {
"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"package.json": "pnpm sort:package",
"src/**/*.ts": [
"bash -c tsc --noEmit",
"pnpm find-deadcode",
"pnpm eslint . --fix --ignore-pattern '**/generated/**/**.ts'",
"pnpm jest --findRelatedTests --bail --passWithNoTests --config ./jest.config.husky.ts",
"pnpm build"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"dependencies": {
"@apollo/server": "^4.11.2",
"@aws-sdk/client-s3": "^3.717.0",
"@devoxa/prisma-relay-cursor-connection": "^3.1.2",
"@nestjs/apollo": "^12.2.2",
"@nestjs/axios": "^3.1.3",
"@nestjs/cache-manager": "^2.3.0",
"@nestjs/common": "^10.4.15",
"@nestjs/core": "^10.4.15",
"@nestjs/graphql": "^12.2.2",
"@nestjs/jwt": "^10.2.0",
"@nestjs/passport": "^10.0.3",
"@nestjs/platform-express": "^10.4.15",
"@nestjs/swagger": "^8.1.0",
"@nestjs/terminus": "^10.2.3",
"@prisma/client": "^6.1.0",
"axios": "^1.7.9",
"bcrypt": "^5.1.1",
"cache-manager": "^5.7.6",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"cloudinary": "^2.5.1",
"colors": "^1.4.0",
"cpf-cnpj-validator": "^1.0.3",
"dayjs": "^1.11.13",
"dotenv": "^16.4.7",
"graphql": "^16.10.0",
"graphql-relay": "^0.10.2",
"graphql-scalars": "^1.24.0",
"graphql-upload-minimal": "^1.6.1",
"nestjs-graphql-relay": "^10.5.1",
"nestjs-pino": "^4.2.0",
"passport": "^0.7.0",
"passport-jwt": "^4.0.1",
"passport-local": "^1.0.0",
"pino-http": "^10.3.0",
"prisma-nestjs-graphql": "^20.0.3",
"reflect-metadata": "^0.2.2",
"rimraf": "^6.0.1",
"rxjs": "^7.8.1",
"uuidv7": "^1.0.2",
"zod": "^3.24.1"
},
"devDependencies": {
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@commitlint/types": "^19.5.0",
"@darraghor/eslint-plugin-nestjs-typed": "^5.0.30",
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
"@eslint/compat": "^1.2.4",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.17.0",
"@kesills/eslint-config-airbnb-typescript": "^20.0.0",
"@nestjs/cli": "^10.4.9",
"@nestjs/schematics": "^10.2.3",
"@nestjs/testing": "^10.4.15",
"@prisma/generator-helper": "^6.1.0",
"@prisma/internals": "^6.1.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/bcrypt": "^5.0.2",
"@types/cache-manager": "^4.0.6",
"@types/express": "^5.0.0",
"@types/handlebars-helpers": "^0.5.6",
"@types/jest": "29.5.14",
"@types/node": "^22.10.2",
"@types/passport-jwt": "^4.0.1",
"@types/passport-local": "^1.0.38",
"@types/supertest": "^6.0.2",
"@typescript-eslint/eslint-plugin": "^8.18.2",
"@typescript-eslint/parser": "^8.18.2",
"apollo-server-express": "^3.13.0",
"commitizen": "^4.3.1",
"conventional-changelog-atom": "^5.0.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^9.17.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-next": "^15.1.3",
"eslint-config-prettier": "^9.1.0",
"eslint-formatter-mo": "^1.2.1",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-nibble": "^8.1.0",
"eslint-plugin-hexagonal-architecture": "^1.0.3",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^28.10.0",
"eslint-plugin-jest-formatting": "^3.1.0",
"eslint-plugin-no-relative-import-paths": "^1.5.5",
"eslint-plugin-no-secrets": "^2.1.1",
"eslint-plugin-perfectionist": "^4.4.0",
"eslint-plugin-prefer-arrow-functions": "^3.4.1",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-promise": "^7.2.1",
"eslint-plugin-unicorn": "^56.0.1",
"eslint-plugin-zod": "^1.4.0",
"globals": "^15.14.0",
"handlebars": "^4.7.8",
"handlebars-helpers": "^0.10.0",
"husky": "^9.1.7",
"jest": "29.7.0",
"lint-staged": "^15.3.0",
"plop": "^4.0.1",
"prettier": "^3.4.2",
"prisma": "^6.1.0",
"prisma-dbml-generator": "^0.12.0",
"semantic-release": "^24.2.0",
"sort-package-json": "^2.12.0",
"source-map-support": "^0.5.21",
"supertest": "^7.0.0",
"ts-jest": "29.2.5",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"ts-unused-exports": "^11.0.1",
"tsconfig-paths": "4.2.0",
"typescript": "^5.7.2",
"webpack": "^5.97.1"
},
"engines": {
"node": ">=20.0.0"
}
}