mirror of
https://github.com/vbenjs/vben-admin-thin-next.git
synced 2025-01-24 02:00:22 +08:00
37 lines
976 B
JSON
37 lines
976 B
JSON
{
|
|
"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",
|
|
"koa": "^2.7.0",
|
|
"koa-body": "^4.2.0",
|
|
"koa-bodyparser": "^4.2.1",
|
|
"koa-route": "^3.2.0",
|
|
"koa-router": "^10.0.0",
|
|
"koa-static": "^5.0.0",
|
|
"koa-websocket": "^6.0.0",
|
|
"koa2-cors": "^2.0.6"
|
|
},
|
|
"devDependencies": {
|
|
"@types/koa": "^2.0.48",
|
|
"@types/koa-bodyparser": "^4.2.2",
|
|
"@types/koa-router": "^7.0.40",
|
|
"@types/node": "^15.12.1",
|
|
"nodemon": "^2.0.7",
|
|
"pm2": "^4.5.6",
|
|
"rimraf": "^3.0.2",
|
|
"ts-node": "^10.0.0",
|
|
"tsconfig-paths": "^3.8.0",
|
|
"tsup": "^4.11.2",
|
|
"typescript": "^4.2.5"
|
|
}
|
|
}
|