package.json 977 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.0",
  14. "koa": "^2.13.1",
  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": "^16.7.1",
  28. "nodemon": "^2.0.12",
  29. "pm2": "^5.1.1",
  30. "rimraf": "^3.0.2",
  31. "ts-node": "^10.2.1",
  32. "tsconfig-paths": "^3.11.0",
  33. "tsup": "^4.14.0",
  34. "typescript": "^4.3.5"
  35. }
  36. }