This repository has been archived by the owner on Nov 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
96 lines (96 loc) · 2.88 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
{
"name": "hot-view-backend",
"version": "1.0.0",
"packageManager": "yarn@1.22.1",
"author": "Dawit Mekonnen",
"description": "API for Hov-view",
"scripts": {
"format": "prettier '**/*.{js,ts,css}' --write --ignore-unknown",
"dev": " nodemon ./src/index.ts",
"dev:cluster": "pm2 start ./src/index.ts -i max",
"start": " set NODE_ENV=prod && tsc --build && node ./dist/src",
"build": "tsc --build ",
"test": "jest --detectOpenHandles --forceExit",
"test-watch": "jest --watch",
"coverage": "jest --coverage",
"lint": "eslint src",
"lint-and-fix": "eslint . --ext .ts --fix",
"migrateDev": "prisma db push",
"seedCI": "ts-node prisma/seed.ts",
"postinstall": "$(yarn bin)/pm2 install typescript",
"prismaGenerate": "prisma generate"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Dave-lab12/hot-view-server.git"
},
"bugs": {
"url": "https://github.com/Dave-lab12/hot-view-server/issues"
},
"dependencies": {
"@prisma/client": "^4.5.0",
"bcrypt": "^5.1.0",
"body-parser": "^1.20.1",
"connect-redis": "^6.1.3",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"express-session": "^1.17.3",
"helmet": "^6.0.1",
"jsonwebtoken": "^8.5.1",
"morgan": "^1.10.0",
"passport": "^0.6.0",
"passport-local": "^1.0.0",
"pm2": "^5.2.2",
"redis": "^4.5.1",
"swagger-ui-express": "^4.6.0",
"winston": "^3.8.2",
"yamljs": "^0.3.0",
"zod": "^3.19.1"
},
"devDependencies": {
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@shopify/eslint-plugin": "^42.0.1",
"@types/bcrypt": "^5.0.0",
"@types/body-parser": "^1.19.2",
"@types/config": "^3.3.0",
"@types/connect-redis": "^0.0.19",
"@types/cookie-parser": "^1.4.3",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.14",
"@types/express-session": "^1.17.5",
"@types/jest": "^29.2.0",
"@types/jsonwebtoken": "^8.5.9",
"@types/morgan": "^1.9.3",
"@types/node": "^18.11.3",
"@types/nodemon": "^1.19.2",
"@types/passport": "^1.0.11",
"@types/passport-local": "^1.0.34",
"@types/supertest": "^2.0.12",
"@types/swagger-ui-express": "^4.1.3",
"@types/yamljs": "^0.2.31",
"@typescript-eslint/eslint-plugin": "^5.40.1",
"@typescript-eslint/parser": "^5.40.1",
"eslint": "^8.26.0",
"eslint-import-resolver-typescript": "^3.5.2",
"eslint-plugin-jest": "^27.1.3",
"eslint-plugin-no-loops": "^0.3.0",
"husky": "^8.0.1",
"jest": "^29.2.1",
"lint-staged": "^13.0.3",
"nodemon": "^2.0.20",
"pinst": "^3.0.0",
"prettier": "^2.7.1",
"prisma": "^4.5.0",
"supertest": "^6.3.0",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1",
"typescript": "^4.8.4"
},
"lint-staged": {
"*": "yarn format",
"*.ts": "yarn lint"
}
}