Sanakey
2024-08-29 45b43f4ff4bea965638166ff619db1ef5afcad70
提交 | 用户 | age
a96cb2 1 {
V 2   "name": "server",
3   "version": "1.0.0",
4   "license": "MIT",
5   "scripts": {
5e9946 6     "compile": "rimraf ./dist && tsup ./index.ts --dts --format cjs,esm  ",
e67970 7     "prod": "npx pm2 start ecosystem.config.cjs --env production",
X 8     "restart": "pm2 restart ecosystem.config.cjs --env production",
ba2415 9     "start": "nodemon",
e67970 10     "stop": "npx pm2 stop ecosystem.config.cjs"
a96cb2 11   },
V 12   "dependencies": {
84a5fc 13     "fs-extra": "^11.1.1",
1262e1 14     "koa": "^2.14.2",
84a5fc 15     "koa-body": "^6.0.1",
1262e1 16     "koa-bodyparser": "^4.4.1",
a96cb2 17     "koa-route": "^3.2.0",
84a5fc 18     "koa-router": "^12.0.0",
a96cb2 19     "koa-static": "^5.0.0",
84a5fc 20     "koa-websocket": "^7.0.0",
a96cb2 21     "koa2-cors": "^2.0.6"
V 22   },
23   "devDependencies": {
84a5fc 24     "@types/koa": "^2.13.6",
948219 25     "@types/koa-bodyparser": "^5.0.2",
V 26     "@types/koa-router": "^7.4.4",
c6e135 27     "@types/node": "^20.4.0",
84a5fc 28     "nodemon": "^2.0.22",
V 29     "pm2": "^5.3.0",
1262e1 30     "rimraf": "^5.0.1",
84a5fc 31     "ts-node": "^10.9.1",
V 32     "tsconfig-paths": "^4.2.0",
1262e1 33     "tsup": "^7.1.0",
X 34     "typescript": "^5.1.6"
a96cb2 35   }
V 36 }