-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
100 lines (100 loc) · 2.96 KB
/
package.json
File metadata and controls
100 lines (100 loc) · 2.96 KB
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
{
"name": "farm-nestjs-api",
"scripts": {
"build": "npx nest build",
"format:prettier": "npx prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "npx nest start",
"dev": "npx nest start --watch",
"start:debug": "npx nest start --debug --watch",
"start:prod": "node dist/main",
"test": "jest",
"test:watch": "npx jest --watch",
"test:cov": "npx jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "npx jest --config ./test/jest-e2e.json",
"lint": "biome check src/ --fix --unsafe",
"format": "biome format src/ prisma/ --fix",
"prepare": "npx husky",
"prisma:generate": "npx prisma generate",
"prisma:migrate": "npx prisma migrate dev",
"prisma:studio": "npx prisma studio",
"prisma:db:seed": "npx prisma db seed"
},
"prisma": {
"seed": "ts-node --transpile-only --compiler-options {\"module\":\"CommonJS\"} prisma/seed.ts"
},
"lint-staged": {
"*.{js,ts,cjs,mjs,d.cts,d.mts,json,jsonc}": [
"biome check --apply --no-errors-on-unmatched"
]
},
"dependencies": {
"@biomejs/biome": "1.9.4",
"@faker-js/faker": "^9.8.0",
"@nestjs/common": "^11.1.2",
"@nestjs/config": "^4.0.2",
"@nestjs/core": "^11.1.2",
"@nestjs/platform-express": "^11.1.2",
"@nestjs/serve-static": "^5.0.3",
"@nestjs/swagger": "^11.2.0",
"@nestjs/throttler": "^6.4.0",
"@prisma/client": "^6.9.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.2",
"cpf-cnpj-validator": "^1.0.3",
"helmet": "^8.1.0",
"pino": "^9.7.0",
"pino-pretty": "^13.0.0",
"prisma": "^6.9.0",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.2",
"swagger-ui-express": "^5.0.1",
"zod": "^3.25.55"
},
"devDependencies": {
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.28.0",
"@nestjs/cli": "^11.0.7",
"@nestjs/schematics": "^11.0.5",
"@nestjs/testing": "^11.1.2",
"@swc/cli": "^0.7.7",
"@swc/core": "^1.11.29",
"@types/express": "^5.0.2",
"@types/jest": "^29.5.14",
"@types/node": "^22.15.29",
"@types/supertest": "^6.0.3",
"eslint": "^9.28.0",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-prettier": "^5.4.1",
"globals": "^16.2.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"jest-mock-extended": "^4.0.0-beta1",
"prettier": "^3.5.3",
"source-map-support": "^0.5.21",
"supertest": "^7.1.1",
"ts-jest": "^29.3.4",
"ts-loader": "^9.5.2",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.8.3",
"typescript-eslint": "^8.33.1"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}