package.json 997 B

12345678910111213141516171819202122232425262728293031323334353637
  1. {
  2. "name": "server",
  3. "version": "1.0.0",
  4. "license": "MIT",
  5. "type": "module",
  6. "scripts": {
  7. "compile": "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. "start": "nodemon",
  11. "stop": "npx pm2 stop ecosystem.config.js"
  12. },
  13. "dependencies": {
  14. "fs-extra": "^11.1.1",
  15. "koa": "^2.14.2",
  16. "koa-body": "^6.0.1",
  17. "koa-bodyparser": "^4.4.1",
  18. "koa-route": "^3.2.0",
  19. "koa-router": "^12.0.0",
  20. "koa-static": "^5.0.0",
  21. "koa-websocket": "^7.0.0",
  22. "koa2-cors": "^2.0.6"
  23. },
  24. "devDependencies": {
  25. "@types/koa": "^2.13.6",
  26. "@types/koa-bodyparser": "^5.0.2",
  27. "@types/koa-router": "^7.4.4",
  28. "@types/node": "^20.4.0",
  29. "nodemon": "^2.0.22",
  30. "pm2": "^5.3.0",
  31. "rimraf": "^5.0.1",
  32. "ts-node": "^10.9.1",
  33. "tsconfig-paths": "^4.2.0",
  34. "tsup": "^7.1.0",
  35. "typescript": "^5.1.6"
  36. }
  37. }