-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
38 lines (38 loc) · 1.17 KB
/
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
35
36
37
38
{
"name": "koa-demo-api",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"dev": "NODE_ENV=dev ./node_modules/.bin/nodemon --watch ./src ./src/app.ts",
"start": "tsc && NODE_ENV=prod pm2 start node dist/app.js --name=\"DemoApi\" -i 4",
"stop": "pm2 delete DemoApi",
"reload": "tsc && pm2 reload DemoApi --trace",
"lint": "tsc --noEmit && eslint \"**/*.{js,ts}\" --quiet --fix",
"db": "typeorm-model-generator -h localhost -d v_admin -u root -e mysql -o ./src"
},
"author": "vince liang",
"license": "ISC",
"dependencies": {
"@koa/router": "^8.0.8",
"@types/koa-router": "^7.4.0",
"class-transformer": "^0.2.3",
"class-validator": "^0.12.2",
"koa": "^2.11.0",
"koa-bodyparser": "^4.3.0",
"mysql2": "^2.1.0",
"reflect-metadata": "^0.1.13",
"typeorm": "^0.2.25"
},
"devDependencies": {
"@types/koa": "^2.11.3",
"@types/koa-bodyparser": "^4.3.0",
"@types/koa-router": "^7.4.0",
"@types/node": "^13.13.2",
"@typescript-eslint/eslint-plugin": "^2.29.0",
"@typescript-eslint/parser": "^2.29.0",
"eslint": "^6.8.0",
"nodemon": "^2.0.3",
"typescript": "^3.8.3"
}
}