-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 2.45 KB
/
Copy pathpackage.json
File metadata and controls
75 lines (75 loc) · 2.45 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
{
"name": "dogs-api",
"version": "0.1.0",
"private": true,
"description": "Backend API for the Dogs social network.",
"license": "MIT",
"scripts": {
"dev": "nest start --watch",
"build": "nest build",
"start": "node dist/main.js",
"lint": "eslint . --max-warnings=0",
"lint:fix": "eslint . --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"typecheck": "tsc --noEmit",
"test": "jest --runInBand",
"test:watch": "jest --watch",
"prisma:generate": "DATABASE_URL=${DATABASE_URL:-postgresql://user:password@localhost:5432/dogs} DIRECT_DATABASE_URL=${DIRECT_DATABASE_URL:-postgresql://user:password@localhost:5432/dogs} prisma generate",
"prisma:validate": "DATABASE_URL=${DATABASE_URL:-postgresql://user:password@localhost:5432/dogs} DIRECT_DATABASE_URL=${DIRECT_DATABASE_URL:-postgresql://user:password@localhost:5432/dogs} prisma validate",
"prisma:migrate:dev": "prisma migrate dev",
"prisma:migrate:deploy": "prisma migrate deploy",
"prisma:seed": "ts-node prisma/seed.ts",
"validate": "yarn lint && yarn format:check && yarn typecheck && yarn test && yarn build",
"prepare": "husky"
},
"dependencies": {
"@nestjs/common": "^10.0.0",
"@nestjs/config": "3.2.3",
"@nestjs/core": "^10.0.0",
"@nestjs/platform-express": "^10.0.0",
"@nestjs/swagger": "7.4.2",
"@prisma/client": "5.22.0",
"@supabase/supabase-js": "2.47.10",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.1",
"swagger-ui-express": "5.0.1",
"zod": "3.24.1"
},
"devDependencies": {
"@nestjs/cli": "^10.0.0",
"@nestjs/schematics": "^10.0.0",
"@nestjs/testing": "^10.0.0",
"@types/jest": "29.5.12",
"@types/node": "^18.19.0",
"@types/supertest": "6.0.2",
"@types/swagger-ui-express": "4.1.8",
"@typescript-eslint/eslint-plugin": "6.21.0",
"@typescript-eslint/parser": "6.21.0",
"eslint": "8.57.1",
"husky": "9.1.7",
"jest": "29.7.0",
"lint-staged": "15.2.11",
"prettier": "3.3.3",
"prisma": "5.22.0",
"source-map-support": "^0.5.21",
"supertest": "7.0.0",
"ts-jest": "29.1.2",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.4.0"
},
"lint-staged": {
"*.{ts,js}": [
"eslint --fix --max-warnings=0",
"prettier --write"
],
"*.{json,md,yml,yaml}": [
"prettier --write"
]
},
"prisma": {
"seed": "ts-node prisma/seed.ts"
}
}