socketio-zustand/backend/package.json

44 lines
1.4 KiB
JSON
Raw Normal View History

{
"name": "express-socketio-demo",
"version": "1.0.0",
"description": "Socket.io Backend Typescript Project",
"main": "index.js",
"scripts": {
"dev": "npm run build && SET NODE_ENV=development&& node build/server.js",
"prod": "NODE_ENV=production npm run build && node build/server.js",
"build": "npm run clean && npm run build-ts",
"watch": "concurrently -k -p \"[{name}]\" -n \"TypeScript,Node\" -c \"yellow.bold,cyan.bold,green.bold\" \"npm run watch-ts\" \"npm run watch-node\"",
"watch-node": "nodemon -r dotenv/config build/server.js",
"clean": "rimraf ./build",
"build-ts": "tsc",
"watch-ts": "tsc -w",
"eslint": "eslint . --ext .js,.ts"
},
"keywords": [],
"author": "Justin Xiao",
"license": "MIT",
"dependencies": {
"axios": "^1.2.1",
"cors": "^2.8.5",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"socket.io": "^4.7.1",
"winston": "^3.8.2",
"winston-daily-rotate-file": "^4.7.1"
},
"devDependencies": {
"@types/cors": "^2.8.13",
"@types/express": "^4.17.15",
"@types/node": "^18.11.17",
"@types/request": "^2.48.8",
"@typescript-eslint/eslint-plugin": "^5.46.0",
"@typescript-eslint/parser": "^5.46.0",
"dotenv": "^16.0.3",
"eslint": "^8.29.0",
"nodemon": "^2.0.20",
"prettier": "^2.8.1",
"ts-node": "^10.9.1",
"typescript": "^4.9.4"
}
}