-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
44 lines (44 loc) · 1.27 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
39
40
41
42
43
44
{
"name": "Koa-typescript-start",
"version": "1.0.0",
"description": "Koa & Typescript demo",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"env:dev": "set NODE_ENV=development",
"dev": "cross-env NODE_ENV=development nodemon -x ts-node --inspect app.ts",
"start": "node dist/app.js",
"build": "rd /s /q @types && tsc",
"compile": "tsc",
"serve": "cross-env NODE_ENV=production node ./dist/app.js",
"pm2": "cross-env NODE_ENV=production pm2 start ./dist/app.js --name=koa-ts",
"clean": "npm run cleanTypes",
"cleanDist": "rd /s /q dist",
"cleanTypes": "rd /s /q @types",
"cleanMac": "rm -rf dist"
},
"keywords": [],
"author": "Jesonhu",
"license": "ISC",
"dependencies": {
"cross-env": "^5.2.0",
"kcors": "^2.2.2",
"koa": "^2.5.3",
"koa-bodyparser": "^4.2.1",
"koa-router": "^7.4.0",
"log4js": "^3.0.6",
"mysql": "^2.16.0"
},
"devDependencies": {
"@types/kcors": "^2.2.3",
"@types/koa": "^2.0.46",
"@types/koa-bodyparser": "^5.0.1",
"@types/koa-router": "^7.0.32",
"@types/log4js": "^2.3.5",
"@types/mysql": "^2.15.5",
"@types/node": "^10.11.3",
"nodemon": "^1.18.7",
"ts-node": "^3.3.0",
"typescript": "^3.1.1"
}
}