-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathpackage.json
34 lines (34 loc) · 863 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
"name": "ts-koa-starter",
"version": "1.0.0",
"description": "一个简单的koa+typescript+typeorm的起手式",
"tags": [
"orm",
"typescript",
"koa"
],
"scripts": {
"start": "nodemon",
"build": "rm -rf dist && tsc",
"pro": "npx pm2 start ecosystem.config.js --env production",
"restart": "pm2 restart ecosystem.config.js --env production",
"stop": "npx pm2 stop ecosystem.config.js"
},
"dependencies": {
"@koa/router": "^13.0.0",
"dotenv": "^16.4.5",
"koa": "^2.15.3",
"koa-bodyparser": "^4.4.1"
},
"devDependencies": {
"@types/koa": "^2.15.0",
"@types/koa-bodyparser": "^4.3.12",
"@types/koa-router": "^7.4.8",
"@types/node": "^22.5.4",
"nodemon": "^3.1.4",
"pm2": "^5.4.2",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.5.4"
}
}