-
Notifications
You must be signed in to change notification settings - Fork 24
/
package.json
executable file
·81 lines (81 loc) · 2.48 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
{
"name": "koa-typescript-starter",
"version": "1.0.3",
"description": "A starter/seed for KOA2/TypeScript.",
"main": "app.js",
"scripts": {
"start": "npm run build && node ./dist/index.js",
"build": "npm run lint && node_modules/typescript/bin/tsc",
"watch": "nodemon --watch 'app/**/*' -e ts --exec 'ts-node' ./app/app.ts",
"lint": "node_modules/tslint/bin/tslint -c tslint.json -p tsconfig.json --force",
"fix": "node_modules/tslint/bin/tslint -c tslint.json -p tsconfig.json --fix --force",
"image:build": "docker build --tag koa-typescript-starter .",
"image:run": "docker run --rm -ti -p 3000:3000 koa-typescript-starter",
"test": "NODE_ENV=test node_modules/mocha/bin/mocha -r ts-node/register ./test/**/*.spec.ts && exit 0",
"coverage": "NODE_ENV=test node_modules/nyc/bin/nyc.js --reporter=html --reporter=text node_modules/mocha/bin/mocha --exit -r ts-node/register ./test/**/*.spec.ts",
"coverage:coveralls": "NODE_ENV=test node_modules/nyc/bin/nyc.js --reporter=lcov --reporter=text-lcov node_modules/mocha/bin/mocha --exit -r ts-node/register ./test/**/*.spec.ts | coveralls"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ddimaria/koa-typescript-starter.git"
},
"keywords": [
"loyalty",
"checkin",
"petro"
],
"author": "David DiMaria",
"license": "ISC",
"dependencies": {
"@koa/cors": "^2.2.2",
"koa": "^2.5.2",
"koa-body": "^2.6.0",
"koa-bunyan-logger": "^2.0.0",
"koa-router": "^7.4.0",
"koa-static": "^4.0.3",
"koa2-swagger-ui": "^2.9.5",
"lodash": "^4.17.10"
},
"devDependencies": {
"@types/bunyan": "^1.8.4",
"@types/chai": "^4.1.4",
"@types/chai-http": "^3.0.5",
"@types/koa": "^2.0.46",
"@types/koa-router": "^7.0.31",
"@types/koa__cors": "^2.2.3",
"@types/lodash": "^4.14.116",
"@types/mocha": "^5.2.5",
"chai": "^4.1.2",
"chai-http": "^4.0.0",
"coveralls": "^3.0.2",
"koa-async-validator": "^0.1.2",
"mocha": "^5.2.0",
"mocha-lcov-reporter": "^1.3.0",
"nodemon": "^1.18.3",
"nyc": "^11.9.0",
"source-map-support": "^0.5.6",
"ts-node": "^6.2.0",
"tslint": "^5.11.0",
"typescript": "^3.0.1"
},
"nyc": {
"extension": [
".ts",
".tsx"
],
"excludes": [
"**/*.d.ts",
"./test/**/*"
],
"require": [
"ts-node/register"
],
"reporter": [
"text-summary",
"html",
"lcov"
],
"sourceMap": true,
"instrument": true
}
}