-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
74 lines (74 loc) · 2.25 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"name": "koa-ts-full-template",
"version": "1.0.0",
"license": "MIT",
"author": "Simple",
"description": "koa ts template",
"main": "index.js",
"scripts": {
"start": "nodemon -e ts --exec ts-node -r tsconfig-paths/register src/main.ts",
"start:dev": "cross-env NODE_ENV=development npm run start",
"start:test": "cross-env NODE_ENV=testing npm run start",
"prod": "cross-env NODE_ENV=production node -r tsconfig-paths/register ./src/main.js",
"test": "cross-env NODE_ENV=development jest --runInBand",
"build": "npm run rm-dist && npm run build-ts && npm run copy-static",
"build-ts": "tsc -b ./ --verbose",
"copy-static": "ts-node copyStatic.ts",
"rm-dist": "ts-node rm-dist.ts",
"apidoc": "apidoc -i ./src/app/routes -o ./src/app/apidoc/dist -c ./src/app/apidoc",
"lint": "eslint src test --ext .ts",
"lint:fix": "eslint src test --ext .ts --fix",
"prepush": "npm run lint"
},
"keywords": [
"koa",
"ts"
],
"dependencies": {
"cross-env": "^6.0.3",
"debug": "^4.1.1",
"koa": "^2.8.1",
"koa-body": "^4.1.1",
"koa-favicon": "^2.0.1",
"koa-json": "^2.0.2",
"koa-logger": "^3.2.1",
"koa-onerror": "^4.1.0",
"koa-router": "^7.4.0",
"koa-static-server": "^1.4.0",
"koa-views": "^6.2.1",
"log4js": "^5.3.0",
"mysql": "^2.17.1",
"pug": "^2.0.4",
"tsconfig-paths": "^3.9.0"
},
"devDependencies": {
"@types/debug": "^4.1.5",
"@types/jest": "^24.0.19",
"@types/koa": "2.0.50",
"@types/koa-compose": "3.2.4",
"@types/koa-logger": "^3.1.1",
"@types/koa-router": "^7.0.42",
"@types/koa-views": "^2.0.3",
"@types/log4js": "^2.3.5",
"@types/mocha": "^5.2.7",
"@types/mysql": "^2.15.8",
"@types/node": "^12.7.5",
"@types/shelljs": "^0.8.5",
"@types/supertest": "^2.0.8",
"@typescript-eslint/eslint-plugin": "^2.4.0",
"@typescript-eslint/parser": "^2.4.0",
"apidoc": "^0.17.7",
"eslint": "^6.5.1",
"eslint-config-airbnb": "^18.0.1",
"eslint-plugin-import": "^2.18.2",
"husky": "^2.7.0",
"jest": "24.1.0",
"nodemon": "^1.19.3",
"shelljs": "^0.8.3",
"should": "^13.2.3",
"supertest": "^4.0.2",
"ts-jest": "24.0.0",
"ts-node": "~7.0.0",
"typescript": "~3.4.5"
}
}