package.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. {
  2. "name": "gateway",
  3. "version": "1.0.0",
  4. "author": {
  5. "email": "zsqmengzhihen@163.com",
  6. "name": "zhusiqng"
  7. },
  8. "private": true,
  9. "engines": {
  10. "node": ">=12.0.0 <13.0.0"
  11. },
  12. "keywords": [
  13. "node",
  14. "koa",
  15. "redis",
  16. "typescript"
  17. ],
  18. "description": "一个基于node+ts+koa的网关服务",
  19. "main": "index.js",
  20. "license": "MIT",
  21. "scripts": {
  22. "dev": "cross-env NODE_ENV=development nodemon -e ts --exec ts-node -r tsconfig-paths/register src/app.ts",
  23. "start": "rm -rf ./dist && cross-env NODE_ENV=prod tsc --inlineSourceMap false"
  24. },
  25. "dependencies": {
  26. "consola": "^2.15.0",
  27. "cross-env": "^7.0.2",
  28. "koa": "^2.13.0",
  29. "koa-bodyparser": "^4.3.0",
  30. "koa-helmet": "^5.2.0",
  31. "koa-proxies": "^0.11.0",
  32. "koa-router": "^9.4.0",
  33. "koa-session": "^6.0.0",
  34. "koa-static": "^5.0.0",
  35. "log4js": "^6.3.0",
  36. "nedb": "^1.8.0",
  37. "node-cache": "^5.1.2",
  38. "nodemon": "^2.0.4",
  39. "pm2": "^4.4.1",
  40. "redis": "^3.0.2",
  41. "ws": "^7.5.2"
  42. },
  43. "devDependencies": {
  44. "@types/koa": "^2.11.4",
  45. "@types/koa-bodyparser": "^4.3.0",
  46. "@types/koa-router": "^7.4.1",
  47. "@types/koa-session": "^5.10.2",
  48. "@types/nedb": "^1.8.11",
  49. "@types/node": "^14.11.2",
  50. "@types/redis": "^2.8.27",
  51. "@types/ws": "^7.4.6",
  52. "ts-node": "^9.0.0",
  53. "tsconfig-paths": "^3.9.0",
  54. "typescript": "^4.0.3"
  55. }
  56. }