-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
83 lines (83 loc) · 2.75 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
{
"name": "oslash-be",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"build": "rm -rf dist && webpack",
"dev": "nodemon src/index.ts",
"test": "jest",
"test:coverage": "jest --coverage",
"format": "prettier --write \"**/*.{js,ts}\"",
"lint": "eslint \"**/*.{js,ts}\" --quiet",
"lint:fix": "eslint \"**/*.{js,ts}\" --fix",
"kill:p": "sudo kill -9 `sudo lsof -t -i:5432`",
"kill:r": "sudo kill -9 `sudo lsof -t -i:6379`",
"kill:s": "sudo kill -9 `sudo lsof -t -i:4000`",
"redis:down": "sudo service redis-server stop",
"compose:db-up": "sudo docker-compose -f docker-compose.db.yml up -d",
"compose:db-down": "sudo docker-compose -f docker-compose.db.yml down",
"compose:up": "sudo docker-compose up -d",
"compose:down": "sudo docker-compose down --volumes",
"docker:build": "sudo docker build -t sih-backend .",
"list:containers": "sudo docker ps -a",
"list:images": "sudo docker images",
"db:push": "npx prisma db push",
"db:migrate": "npx prisma migrate dev",
"db:deploy": "npx prisma migrate deploy",
"db:init": "npm run db:migrate && npm run db:deploy",
"db:reset": "npx prisma migrate reset",
"prisma:generate": "npx prisma generate",
"prisma:studio": "npx prisma studio",
"redis:cli": "sudo docker exec -t -i oslash-be-cache-1 /bin/sh"
},
"keywords": [],
"author": "ishubham21",
"license": "ISC",
"dependencies": {
"@prisma/client": "^4.3.1",
"bcrypt": "^5.0.1",
"bcryptjs": "^2.4.3",
"connect-redis": "^6.1.3",
"cors": "^2.8.5",
"dotenv": "^16.0.2",
"express": "^4.18.1",
"express-session": "^1.17.3",
"helmet": "^6.0.0",
"ioredis": "^5.2.3",
"joi": "^17.6.0",
"morgan": "^1.10.0",
"redis": "^4.3.1"
},
"devDependencies": {
"@babel/core": "^7.19.0",
"@babel/preset-env": "^7.19.0",
"@babel/preset-typescript": "^7.18.6",
"@types/bcrypt": "^5.0.0",
"@types/bcryptjs": "^2.4.2",
"@types/connect-redis": "^0.0.18",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.13",
"@types/express-session": "^1.17.5",
"@types/jest": "^29.0.1",
"@types/morgan": "^1.9.3",
"@typescript-eslint/eslint-plugin": "^5.36.2",
"@vercel/node": "^2.5.14",
"babel-loader": "^8.2.5",
"eslint": "^8.23.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-no-loops": "^0.3.0",
"fork-ts-checker-webpack-plugin": "^7.2.13",
"jest": "^29.0.2",
"nodemon": "^2.0.19",
"prettier": "^2.7.1",
"prisma": "^4.3.1",
"terser-webpack-plugin": "^5.3.6",
"ts-node": "^10.9.1",
"typescript": "^4.8.2",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0",
"webpack-node-externals": "^3.0.0"
}
}