Files
status-check/package.json
MCHost e7d81ad5a3 Add input validation and add advanced logging
- Implemented input validation for binary paths, hostnames, and ports to enhance security
- Added winston-based advanced logging with debug, info, warn, and error levels
- Configured logging to output to both console and server.log file
- Included request context and unique request IDs in logs
- Fixed binary path validation to allow /home/go/status and added existence checks
2025-07-03 01:29:19 -04:00

38 lines
974 B
JSON

{
"name": "minecraft-server-status-checker",
"version": "1.0.0",
"description": "A web application to check the status of Minecraft Java and Bedrock Edition servers",
"main": "status_site.js",
"scripts": {
"start": "node status_site.js",
"build:css": "npx tailwindcss -i public/css/style.css -o public/css/style.min.css --minify",
"dev": "nodemon status_site.js"
},
"dependencies": {
"@tailwindcss/cli": "^4.1.11",
"dotenv": "^16.4.5",
"express": "^4.21.0",
"express-rate-limit": "^7.5.1",
"helmet": "^8.1.0",
"validator": "^13.15.15",
"winston": "^3.17.0"
},
"devDependencies": {
"nodemon": "^3.1.7",
"tailwindcss": "^3.4.13"
},
"author": "Your Name",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/your-username/minecraft-server-status-checker.git"
},
"keywords": [
"minecraft",
"server-status",
"nodejs",
"express",
"tailwindcss"
]
}