forked from IgorP120/api-koa-typescript-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 2.44 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
{
"name": "api-koa-typescript-starter",
"description": "A boiler-plate setup for API servers with Koa and TypeScript",
"version": "0.0.1",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/rangle/api-koa-typescript-starter.git"
},
"bugs": {
"url": "https://github.com/rangle/api-koa-typescript-starter/issues"
},
"engines": {
"node": ">= 8"
},
"scripts": {
"start": "cross-env PROJECT_ENV=staging node --use-strict ./dist/app.js",
"dev": "cross-env PROJECT_ENV=local ts-node-dev ./src/app.ts",
"local:start": "cross-env PROJECT_ENV=local npm run daemon:start",
"local:stop": "cross-env PROJECT_ENV=local npm run daemon:stop",
"staging:start": "cross-env PROJECT_ENV=staging npm run daemon:start",
"staging:stop": "cross-env PROJECT_ENV=staging npm run daemon:stop",
"test": "cross-env PROJECT_ENV=testing jest --coverage --forceExit --config jest-config.json",
"test:watch": "cross-env PROJECT_ENV=testing jest --watch",
"lint": "tslint --project ./tsconfig.json",
"raml": "raml2html -i doc/api/api.raml -o api.html",
"daemon:start": "forever --uid api-koa-starter -a -c 'node --use-strict' start ./dist/app.js",
"daemon:stop": "forever stop api-koa-starter || true",
"build": "tsc"
},
"dependencies": {
"debug": "^3.1.0",
"koa": "^2.5.2",
"koa-body": "^4.0.4",
"koa-convert": "^1.2.0",
"koa-helmet": "^4.0.0",
"koa-jwt": "^3.5.0",
"koa-morgan": "^1.0.1",
"koa-router": "^7.4.0",
"ramda": "^0.25.0",
"request": "^2.88.0",
"request-promise": "^4.2.2",
"uuid": "^3.3.2",
"winston": "^3.0.0"
},
"devDependencies": {
"@types/jest": "^23.3.1",
"@types/koa": "^2.0.46",
"@types/koa-helmet": "^3.1.2",
"@types/koa-morgan": "^1.0.4",
"@types/koa-router": "^7.0.31",
"@types/morgan": "^1.7.35",
"@types/ramda": "^0.25.36",
"@types/request-promise": "^4.1.42",
"@types/supertest": "^2.0.5",
"@types/uuid": "^3.4.3",
"babel-core": "^6.26.3",
"babel-jest": "^23.4.2",
"chai": "^4.1.2",
"cross-env": "^5.2.0",
"eslint": "^5.4.0",
"forever": "^0.15.2",
"jest": "^23.5.0",
"mockery": "^2.1.0",
"nodemon": "^1.18.3",
"raml2html": "^7.1.0",
"sinon": "^6.1.5",
"supertest": "^3.1.0",
"throng": "^4.0.0",
"ts-jest": "^23.1.4",
"ts-node": "^7.0.1",
"ts-node-dev": "^1.0.0-pre.26",
"tslint": "^5.11.0",
"typescript": "^3.0.1"
}
}