-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
109 lines (109 loc) · 3.18 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
{
"name": "@tour-backend/server",
"private": true,
"scripts": {
"start": "nest start",
"start:watch": "nest start --watch",
"start:debug": "nest start --debug --watch",
"build": "nest build",
"serve": "node dist/main.js",
"test": "jest",
"seed": "ts-node scripts/seed.ts",
"db:migrate-save": "prisma migrate dev",
"db:migrate-up": "prisma migrate deploy",
"db:clean": "prisma migrate reset",
"db:init": "run-s \"db:migrate-save -- --name 'initial version'\" db:migrate-up seed",
"prisma:generate": "prisma generate",
"prisma:db-pull": "prisma db pull",
"prisma:studio": "prisma studio",
"docker:dev": "docker-compose -f docker-compose.dev.yml up -d",
"package:container": "docker build .",
"compose:up": "docker-compose up -d",
"compose:down": "docker-compose down --volumes",
"format": "prettier --write .",
"lint": "eslint --ext .ts,.tsx ./src",
"fix": "yarn format && yarn lint:fix",
"lint:fix": "eslint --fix 'src/**/*.{js,jsx,ts,tsx}'",
"fix:eslint": "eslint src --ext .js,.ts,.jsx,.tsx --fix",
"fix:prettier": "prettier --write ."
},
"dependencies": {
"@apollo/server": "^4.9.4",
"@aws-sdk/client-s3": "^3.521.0",
"@nestjs/apollo": "12.0.9",
"@nestjs/common": "10.2.7",
"@nestjs/config": "3.1.1",
"@nestjs/core": "10.2.7",
"@nestjs/graphql": "12.0.9",
"@nestjs/jwt": "^10.1.1",
"@nestjs/passport": "^10.0.2",
"@nestjs/platform-express": "10.2.7",
"@nestjs/serve-static": "4.0.0",
"@nestjs/swagger": "7.1.13",
"@prisma/client": "^5.10.2",
"@types/bcrypt": "5.0.0",
"bcrypt": "5.1.1",
"class-transformer": "0.5.1",
"class-validator": "0.14.0",
"dotenv": "16.3.1",
"graphql": "^16.8.1",
"graphql-type-json": "0.3.2",
"nest-access-control": "^3.1.0",
"npm-run-all": "4.1.5",
"passport": "0.6.0",
"passport-http": "0.3.0",
"passport-jwt": "4.0.1",
"reflect-metadata": "0.1.13",
"ts-node": "10.9.1",
"type-fest": "2.19.0",
"validator": "13.11.0"
},
"devDependencies": {
"@nestjs/cli": "^10.1.18",
"@nestjs/testing": "^10.2.7",
"@types/express": "^4.17.19",
"@types/graphql-type-json": "0.3.3",
"@types/jest": "^29.5.5",
"@types/multer": "^1.4.11",
"@types/normalize-path": "3.0.0",
"@types/passport-http": "0.3.9",
"@types/passport-jwt": "3.0.10",
"@types/supertest": "^2.0.14",
"@types/validator": "^13.11.2",
"@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^7.0.2",
"eslint": "^8.56.0",
"husky": "^9.0.11",
"jest": "^29.7.0",
"jest-mock-extended": "^3.0.5",
"lint-staged": "^15.2.2",
"prettier": "^2.8.8",
"prisma": "^5.4.2",
"supertest": "^6.3.3",
"ts-jest": "^29.1.1",
"typescript": "^5.2.2"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"modulePathIgnorePatterns": [
"<rootDir>/dist/"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts}": [
"prettier --write",
"eslint --fix",
"git add"
],
"*.{html,css,less,ejs}": [
"prettier --write",
"git add"
]
}
}