UNPKG

2.44 kBJSONView Raw
1{
2 "name": "@banzaicloud/service-tools",
3 "version": "2.0.14",
4 "author": "Andras Toth",
5 "license": "Apache-2.0",
6 "description": "Node.js service tools for common use cases",
7 "homepage": "https://github.com/banzaicloud/node-service-tools#readme",
8 "repository": {
9 "type": "git",
10 "url": "https://github.com/banzaicloud/node-service-tools"
11 },
12 "keywords": [
13 "kubernetes",
14 "microservice",
15 "koa",
16 "middleware",
17 "health",
18 "check",
19 "graceful",
20 "logger",
21 "prometheus",
22 "metrics"
23 ],
24 "main": "dist/index.js",
25 "types": "dist/index.d.ts",
26 "scripts": {
27 "build": "tsc --build tsconfig.json",
28 "test": "npm run lint && npm run unit-test",
29 "unit-test": "jest",
30 "fmt": "prettier --find-config-path --write '{src,examples}/**/*.{js,ts,json}' && npm run lint -- --fix",
31 "lint": "tslint --project tsconfig.json",
32 "precommit": "pretty-quick --staged && npm test",
33 "prepush": "npm run build && npm test",
34 "prepublishOnly": "npm run build && npm run test"
35 },
36 "dependencies": {
37 "http-errors": "1.7.3",
38 "joi": "14.3.1",
39 "lodash": "4.17.15",
40 "pino": "5.13.3",
41 "prom-client": "11.5.3"
42 },
43 "devDependencies": {
44 "@types/express": "4.17.1",
45 "@types/http-errors": "1.6.2",
46 "@types/jest": "24.0.18",
47 "@types/joi": "14.3.3",
48 "@types/koa": "2.0.49",
49 "@types/lodash": "4.14.138",
50 "@types/node": "12.7.5",
51 "@types/pino": "5.8.10",
52 "@types/request-promise-native": "1.0.16",
53 "express": "4.17.1",
54 "husky": "3.0.5",
55 "jest": "24.9.0",
56 "jest-mock-console": "1.0.0",
57 "koa": "2.8.1",
58 "prettier": "1.18.2",
59 "prettier-tslint": "0.4.2",
60 "pretty-quick": "1.11.1",
61 "request-promise-native": "1.0.7",
62 "ts-jest": "24.1.0",
63 "ts-node": "8.3.0",
64 "tslint": "5.20.0",
65 "tslint-config-prettier": "1.18.0",
66 "typescript": "3.6.3"
67 },
68 "peerDependencies": {
69 "koa": ">=2.5.2 < 3",
70 "express": ">=4.16.3 < 5"
71 },
72 "optionalDependencies": {
73 "dotenv": "^6.0.0"
74 },
75 "jest": {
76 "testEnvironment": "node",
77 "moduleFileExtensions": [
78 "ts",
79 "js"
80 ],
81 "transform": {
82 ".+\\.(ts)$": "ts-jest"
83 },
84 "globals": {
85 "ts-jest": {
86 "tsConfig": "tsconfig.json",
87 "diagnostics": false
88 }
89 },
90 "testMatch": [
91 "**/?(*.)+(spec|test).(ts|js)",
92 "**/__tests__/*.+(ts|js)"
93 ],
94 "resetMocks": true
95 }
96}