This repository has been archived by the owner on Dec 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
86 lines (86 loc) · 2.79 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
75
76
77
78
79
80
81
82
83
84
85
86
{
"name": "koa-typeorm-boilerplate",
"version": "1.0.0",
"description": "Boilerplate for using koa with ts and typeorm",
"private": true,
"author": "fadedDexofan",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/fadedDexofan/koa-typeorm-boilerplate"
},
"scripts": {
"pm2": "pm2 startOrRestart ecosystem.config.json",
"docker": "pm2-runtime ecosystem.config.json",
"start": "npm run build && npm run serve",
"build": "npm run build-ts && npm run tslint",
"serve": "cross-env NODE_ENV=production node dist/server.js",
"watch-node": "cross-env NODE_ENV=production nodemon dist/server.js",
"build-ts": "tsc",
"watch-ts": "tsc -w",
"tslint": "tslint -c tslint.json -p tsconfig.json",
"debug": "npm run build && npm run watch-debug",
"serve-debug":
"cross-env NODE_ENV=development nodemon --inspect dist/server.js",
"watch-debug":
"concurrently -k -p \"[{name}]\" -n \"TypeScript,Node\" -c \"cyan.bold,green.bold\" \"npm run watch-ts\" \"npm run serve-debug\"",
"test": "npm run unit:test && npm run e2e:test",
"unit:test":
"npm run build-ts && cross-env NODE_ENV=test mocha ./dist/db/repositories/*.test.js --timeout 5000 --exit",
"e2e:test":
"npm run build-ts && cross-env NODE_ENV=test mocha ./dist/app/controllers/**/*.controller.test.js --timeout 5000 --exit"
},
"dependencies": {
"bcryptjs": "^2.4.3",
"class-transformer": "^0.1.9",
"class-validator": "^0.11.0",
"commander": "^2.16.0",
"config": "^1.30.0",
"dotenv": "^6.0.0",
"jsonwebtoken": "^8.3.0",
"kcors": "^2.2.2",
"koa": "^2.5.1",
"koa-bodyparser": "^4.2.1",
"koa-router": "^7.4.0",
"pg": "^7.4.3",
"reflect-metadata": "^0.1.12",
"routing-controllers": "^0.7.7",
"shelljs": "^0.8.2",
"typedi": "^0.8.0",
"typeorm": "^0.2.7",
"typeorm-typedi-extensions": "^0.2.3",
"winston": "github:winstonjs/winston"
},
"devDependencies": {
"@types/bcryptjs": "^2.4.1",
"@types/chai": "^4.2.6",
"@types/chai-http": "^3.0.5",
"@types/config": "0.0.34",
"@types/dotenv": "^4.0.3",
"@types/jsonwebtoken": "^7.2.8",
"@types/koa": "^2.11.0",
"@types/koa-bodyparser": "^4.3.0",
"@types/koa-router": "^7.0.42",
"@types/mocha": "^5.2.7",
"@types/node": "^12.12.14",
"@types/shelljs": "^0.8.0",
"@types/supertest": "^2.0.4",
"chai": "^4.1.2",
"chai-http": "^4.3.0",
"cross-env": "^5.2.0",
"husky": "^0.14.3",
"mocha": "^5.2.0",
"nodemon": "^2.0.1",
"supertest": "^3.1.0",
"tslint": "^5.20.1",
"tslint-config-prettier": "^1.13.0",
"tslint-language-service": "^0.9.9",
"typescript": "^2.9.2"
},
"husky": {
"hooks": {
"pre-commit": "npm run tslint",
"pre-push": "npm run test"
}
}
}