package.json 978 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
{
  "name": "server",
  "version": "1.0.0",
  "license": "MIT",
  "scripts": {
    "start": "nodemon",
    "build": "rimraf ./dist && tsup ./index.ts --dts --format cjs,esm  ",
    "prod": "npx pm2 start ecosystem.config.js --env production",
    "restart": "pm2 restart ecosystem.config.js --env production",
    "stop": "npx pm2 stop ecosystem.config.js"
  },
  "dependencies": {
    "fs-extra": "^10.0.0",
V
vben 已提交
14
    "koa": "^2.13.4",
15
    "koa-body": "^4.2.0",
V
vben 已提交
16
    "koa-bodyparser": "^4.3.0",
17
    "koa-route": "^3.2.0",
V
vben 已提交
18
    "koa-router": "^10.1.1",
19 20 21 22 23
    "koa-static": "^5.0.0",
    "koa-websocket": "^6.0.0",
    "koa2-cors": "^2.0.6"
  },
  "devDependencies": {
V
vben 已提交
24 25 26
    "@types/koa": "^2.13.4",
    "@types/koa-bodyparser": "^5.0.2",
    "@types/koa-router": "^7.4.4",
V
vben 已提交
27
    "@types/node": "^16.11.10",
V
vben 已提交
28
    "nodemon": "^2.0.15",
V
vben 已提交
29
    "pm2": "^5.1.2",
30
    "rimraf": "^3.0.2",
V
vben 已提交
31
    "ts-node": "^10.4.0",
V
vben 已提交
32 33 34
    "tsconfig-paths": "^3.12.0",
    "tsup": "^5.9.1",
    "typescript": "^4.5.2"
35 36
  }
}