-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
92 lines (92 loc) · 3.26 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": "nest-prisma-monorepo",
"version": "0.0.1",
"description": "",
"private": true,
"repository": "https://github.com/jpb06/nest-prisma-monorepo.git",
"author": "jpb06 <[email protected]>",
"license": "MIT",
"scripts": {
"update-deps": "bunx npm-check-updates --root --format group -i",
"prebuild": "rimraf dist",
"build": "bun build:hiking-app && bun build:projects-app",
"build:hiking-app": "nest build hiking-app ",
"build:projects-app": "nest build projects-app",
"prisma:gen": "bun prisma:gen:users && bun prisma:gen:projects && bun prisma:gen:hiking",
"prisma:migrate": "bun prisma:migrate:users && bun prisma:migrate:projects && bun prisma:migrate:hiking",
"prisma:gen:users": "prisma generate --schema prisma/users/users-schema.prisma",
"prisma:gen:projects": "prisma generate --schema prisma/projects/projects-schema.prisma",
"prisma:gen:hiking": "prisma generate --schema prisma/hiking/hiking-schema.prisma",
"prisma:migrate:users": "prisma migrate dev --schema prisma/users/users-schema.prisma",
"prisma:migrate:projects": "prisma migrate dev --schema prisma/projects/projects-schema.prisma",
"prisma:migrate:hiking": "prisma migrate dev --schema prisma/hiking/hiking-schema.prisma",
"postinstall": "bun prisma:gen",
"docker": "docker compose down && docker compose up postgres",
"db:seed": "prisma db seed",
"dev": "nest start --watch",
"dev:db": "bun prisma:migrate && bun db:seed",
"start": "nest start",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"test": "jest",
"test:dev": "jest --watch",
"test:dev:cov": "jest --watchAll --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./apps/nest-prisma-monorepo/test/jest-e2e.json",
"test:ci": "jest --ci --coverage",
"format": "biome format --write .",
"format-ci": "biome format .",
"lint": "biome lint .",
"lint-fix": "biome lint --write .",
"type-check": "tsc --noEmit",
"sync-icons": "bun generateReadmeIcons -h 50"
},
"dependencies": {
"@nestjs/common": "^10.4.12",
"@nestjs/core": "^10.4.12",
"@nestjs/platform-express": "^10.4.12",
"@nestjs/swagger": "^8.0.7",
"@prisma/client": "^6.0.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"dotenv-flow": "^4.1.0",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.1",
"swagger-ui-express": "^5.0.1"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@nestjs/cli": "^10.4.8",
"@nestjs/schematics": "^10.2.3",
"@nestjs/testing": "^10.4.12",
"@swc/core": "^1.9.3",
"@swc/jest": "^0.2.37",
"@types/dotenv-flow": "^3.3.3",
"@types/express": "^5.0.0",
"@types/jest": "29.5.14",
"@types/node": "^22.10.1",
"@types/supertest": "^6.0.2",
"date-fns": "^4.1.0",
"express": "^4.21.1",
"jest": "^29.7.0",
"jest-mock-extended": "^3.0.7",
"prisma": "^6.0.0",
"readme-package-icons": "^1.1.16",
"rimraf": "^6.0.1",
"source-map-support": "^0.5.21",
"supertest": "^7.0.0",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"ts-paths-transform": "^2.0.5",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.7.2",
"webpack": "^5.96.1"
},
"engines": {
"node": "20.x",
"bun": "1.1.x"
},
"prisma": {
"seed": "ts-node prisma/seed.ts"
}
}