Files
chatrooms/server/package.json
Alexander Zinn d8fe4a9dc6 Create WebSocket Server
- Created a WebSocket server with connection handling and message broadcasting
- Added frontend files including HTML, TypeScript, and CSS for a WebSocket test client
- Configured package.json for both server and frontend with necessary scripts and dependencies
- Introduced Prettier configuration for code formatting
- Established a basic structure for handling WebSocket connections and messages
2025-09-05 23:44:28 -04:00

32 lines
809 B
JSON

{
"name": "server",
"version": "0.0.0",
"description": "A server for the chatting rooms",
"license": "ISC",
"author": "Alexander Zinn",
"type": "module",
"main": "index.js",
"scripts": {
"dev": "nodemon --watch 'src/**/*.ts' --exec 'ts-node-esm' src/index.ts",
"format": "prettier --write 'src/**/*.ts'",
"lint": "eslint 'src/**/*.ts'",
"prelint:fix": "npm run format",
"lint:fix": "eslint 'src/**/*.ts' --fix"
},
"dependencies": {
"@techniker-me/logger": "0.0.15"
},
"devDependencies": {
"@eslint/js": "9.35.0",
"@types/node": "^20.0.0",
"eslint": "9.35.0",
"globals": "14.0.0",
"jiti": "2.5.1",
"nodemon": "^3.1.0",
"prettier": "3.6.2",
"ts-node": "^10.9.0",
"typescript": "^5.0.0",
"typescript-eslint": "8.42.0"
}
}