package.json 978 B

123456789101112131415161718192021222324252627282930313233343536
  1. {
  2. "name": "server",
  3. "version": "1.0.0",
  4. "license": "MIT",
  5. "scripts": {
  6. "start": "nodemon",
  7. "build": "rimraf ./dist && tsup ./index.ts --dts --format cjs,esm ",
  8. "prod": "npx pm2 start ecosystem.config.js --env production",
  9. "restart": "pm2 restart ecosystem.config.js --env production",
  10. "stop": "npx pm2 stop ecosystem.config.js"
  11. },
  12. "dependencies": {
  13. "fs-extra": "^10.0.1",
  14. "koa": "^2.13.4",
  15. "koa-body": "^4.2.0",
  16. "koa-bodyparser": "^4.3.0",
  17. "koa-route": "^3.2.0",
  18. "koa-router": "^10.1.1",
  19. "koa-static": "^5.0.0",
  20. "koa-websocket": "^6.0.0",
  21. "koa2-cors": "^2.0.6"
  22. },
  23. "devDependencies": {
  24. "@types/koa": "^2.13.4",
  25. "@types/koa-bodyparser": "^5.0.2",
  26. "@types/koa-router": "^7.4.4",
  27. "@types/node": "^17.0.21",
  28. "nodemon": "^2.0.15",
  29. "pm2": "^5.2.0",
  30. "rimraf": "^3.0.2",
  31. "ts-node": "^10.7.0",
  32. "tsconfig-paths": "^3.14.0",
  33. "tsup": "^5.12.1",
  34. "typescript": "^4.6.2"
  35. }
  36. }