vben
2021-11-03 3b63e41b68f2ea97d11c166c00cd22589639806e
提交 | 用户 | age
a96cb2 1 {
V 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",
787bc4 14     "koa": "^2.13.4",
a96cb2 15     "koa-body": "^4.2.0",
948219 16     "koa-bodyparser": "^4.3.0",
a96cb2 17     "koa-route": "^3.2.0",
455d10 18     "koa-router": "^10.1.1",
a96cb2 19     "koa-static": "^5.0.0",
V 20     "koa-websocket": "^6.0.0",
21     "koa2-cors": "^2.0.6"
22   },
23   "devDependencies": {
948219 24     "@types/koa": "^2.13.4",
V 25     "@types/koa-bodyparser": "^5.0.2",
26     "@types/koa-router": "^7.4.4",
3b63e4 27     "@types/node": "^16.11.6",
787bc4 28     "nodemon": "^2.0.14",
437211 29     "pm2": "^5.1.2",
a96cb2 30     "rimraf": "^3.0.2",
0f4429 31     "ts-node": "^10.4.0",
0b0a7c 32     "tsconfig-paths": "^3.11.0",
3b63e4 33     "tsup": "^5.5.0",
787bc4 34     "typescript": "^4.4.4"
a96cb2 35   }
V 36 }