hunshcn
2022-11-10 384f9294433afb1b28de8944e4fdd36f7782bbf2
提交 | 用户 | 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": {
af6ab9 13     "fs-extra": "^10.0.1",
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",
af6ab9 27     "@types/node": "^17.0.21",
839212 28     "nodemon": "^2.0.15",
af6ab9 29     "pm2": "^5.2.0",
a96cb2 30     "rimraf": "^3.0.2",
b303f1 31     "ts-node": "^10.7.0",
V 32     "tsconfig-paths": "^3.14.0",
33     "tsup": "^5.12.1",
34     "typescript": "^4.6.2"
a96cb2 35   }
V 36 }