-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
108 lines (108 loc) · 2.59 KB
/
Copy pathpackage.json
File metadata and controls
108 lines (108 loc) · 2.59 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
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
{
"name": "turning-wheel-backend",
"version": "1.0.0",
"description": "Secure full-stack backend for The Turning Wheel application with E2E encryption",
"main": "server.js",
"type": "module",
"engines": {
"node": ">=18.0.0",
"npm": ">=8.0.0"
},
"scripts": {
"start": "node server.js",
"dev": "nodemon server.js",
"test": "jest",
"test:watch": "jest --watch",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"security:audit": "npm audit",
"security:check": "snyk test",
"build": "echo 'No build step required for backend'",
"docker:build": "docker build -t turning-wheel-backend .",
"docker:run": "docker run -p 8080:8080 turning-wheel-backend"
},
"dependencies": {
"express": "^4.22.1",
"express-rate-limit": "^7.1.5",
"helmet": "^7.1.0",
"cors": "^2.8.5",
"compression": "^1.7.4",
"morgan": "^1.10.0",
"jsonwebtoken": "^9.0.2",
"bcryptjs": "^2.4.3",
"joi": "^17.11.0",
"express-validator": "^7.3.0",
"express-slow-down": "^2.0.1",
"express-brute": "^1.0.1",
"pg": "^8.11.3",
"pg-pool": "^3.6.1",
"redis": "^4.6.10",
"ioredis": "^5.3.2",
"dotenv": "^16.3.1",
"winston": "^3.11.0",
"winston-daily-rotate-file": "^4.7.1",
"uuid": "^9.0.1",
"crypto": "^1.0.1",
"node-cron": "^3.0.3",
"multer": "^2.0.2",
"sharp": "^0.32.6",
"nodemailer": "^8.0.4",
"socket.io": "^4.7.4",
"express-session": "^1.17.3",
"connect-redis": "^7.1.0",
"passport": "^0.7.0",
"passport-local": "^1.0.0",
"passport-jwt": "^4.0.1",
"xss": "^1.0.14",
"dompurify": "^3.0.5",
"express-mongo-sanitize": "^2.2.0",
"hpp": "^0.2.3"
},
"devDependencies": {
"nodemon": "^3.0.2",
"jest": "^29.7.0",
"supertest": "^6.3.3",
"eslint": "^8.54.0",
"eslint-config-node": "^4.1.0",
"eslint-plugin-security": "^1.7.1",
"prettier": "^3.1.0",
"husky": "^8.0.3",
"lint-staged": "^15.1.0",
"snyk": "^1.1241.0",
"@types/node": "^20.9.4"
},
"keywords": [
"turning-wheel",
"full-stack",
"encryption",
"security",
"express",
"mystical",
"spiritual"
],
"author": "Kyaw",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/username/turning-wheel.git"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --write"
]
},
"jest": {
"testEnvironment": "node",
"collectCoverageFrom": [
"**/*.js",
"!**/node_modules/**",
"!**/coverage/**"
]
}
}