This repository has been archived by the owner on Aug 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
97 lines (97 loc) · 2.47 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
87
88
89
90
91
92
93
94
95
96
97
{
"name": "@banzaicloud/service-tools",
"version": "4.0.6",
"author": "Andras Toth",
"license": "Apache-2.0",
"description": "Node.js service tools for common use cases",
"homepage": "https://github.com/banzaicloud/service-tools#readme",
"repository": {
"type": "git",
"url": "https://github.com/banzaicloud/service-tools"
},
"keywords": [
"kubernetes",
"microservice",
"koa",
"middleware",
"health",
"check",
"graceful",
"logger",
"prometheus",
"metrics"
],
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"scripts": {
"build": "tsc --build --clean && tsc --build tsconfig.json",
"test": "npm run lint && npm run unit-test",
"unit-test": "jest",
"fmt": "prettier --find-config-path --write '{src,examples}/**/*.{js,ts,json}' && npm run lint -- --fix",
"lint": "tslint --project tsconfig.json",
"precommit": "pretty-quick --staged && npm test",
"prepush": "npm run build && npm test",
"prepublishOnly": "npm run build && npm run test"
},
"dependencies": {
"@hapi/boom": "9.1.3",
"joi": "17.4.0",
"got": "11.8.2",
"http-errors": "1.8.0",
"lodash": "4.17.21",
"pino": "6.11.3",
"prom-client": "12.0.0"
},
"devDependencies": {
"@hapi/hapi": "19.1.1",
"@types/express": "4.17.12",
"@types/hapi__hapi": "19.0.3",
"@types/http-errors": "1.8.0",
"@types/jest": "26.0.23",
"@types/koa": "2.13.3",
"@types/lodash": "4.14.170",
"@types/node": "14.0.23",
"@types/pino": "6.3.8",
"@types/request-promise-native": "1.0.17",
"express": "4.17.1",
"husky": "4.2.5",
"jest": "26.1.0",
"jest-mock-console": "1.1.0",
"koa": "2.13.1",
"prettier": "2.3.2",
"prettier-tslint": "0.4.2",
"pretty-quick": "2.0.1",
"request-promise-native": "1.0.9",
"ts-jest": "26.1.2",
"ts-node": "8.10.2",
"tslint": "6.1.3",
"tslint-config-prettier": "1.18.0",
"typescript": "3.9.6"
},
"peerDependencies": {
"@hapi/hapi": ">=19.0.0 < 20.0.0",
"express": ">=4.16.3 < 5.0.0",
"koa": ">=2.5.2 < 3.0.0"
},
"jest": {
"testEnvironment": "node",
"moduleFileExtensions": [
"ts",
"js"
],
"transform": {
".+\\.(ts)$": "ts-jest"
},
"globals": {
"ts-jest": {
"tsConfig": "tsconfig.json",
"diagnostics": false
}
},
"testMatch": [
"**/?(*.)+(spec|test).(ts|js)",
"**/__tests__/*.+(ts|js)"
],
"resetMocks": true
}
}