1 | {
|
2 | "name": "@goodwaygroup/lib-hapi-good-tracer",
|
3 | "version": "0.2.0",
|
4 | "description": "Hapi plugin for injecting tracer info into response headers and logs",
|
5 | "main": "index.js",
|
6 | "scripts": {
|
7 | "test": "npm run test:jest -- --coverage",
|
8 | "test:jest": "cross-env NODE_ENV=test jest ",
|
9 | "test:watch": "npm run test:jest -- --watch",
|
10 | "test:results": "open ./coverage/lcov-report/index.html",
|
11 | "lint": "eslint .",
|
12 | "lint:fix": "eslint --fix .",
|
13 | "version": "git-chglog -o CHANGELOG.md --next-tag $(grep '\\\"version\\\":' package.json | grep -v git-chglog | awk -F '\\\"' '{print $4}') && git add CHANGELOG.md"
|
14 | },
|
15 | "repository": {
|
16 | "type": "git",
|
17 | "url": "git+https://github.com/GoodwayGroup/lib-hapi-trace-headers.git"
|
18 | },
|
19 | "author": "https://www.npmjs.com/~clok",
|
20 | "license": "MIT",
|
21 | "bugs": {
|
22 | "url": "https://github.com/GoodwayGroup/lib-hapi-trace-headers/issues"
|
23 | },
|
24 | "homepage": "https://github.com/GoodwayGroup/lib-hapi-trace-headers#readme",
|
25 | "keywords": [
|
26 | "hapi",
|
27 | "metrics",
|
28 | "plugin",
|
29 | "request",
|
30 | "trace",
|
31 | "heaeders",
|
32 | "instrumentation",
|
33 | "monitoring"
|
34 | ],
|
35 | "husky": {
|
36 | "hooks": {
|
37 | "pre-commit": "npm run lint",
|
38 | "pre-push": "npm run lint && npm test"
|
39 | }
|
40 | },
|
41 | "jest": {
|
42 | "clearMocks": true,
|
43 | "coverageDirectory": "<rootDir>/coverage",
|
44 | "coverageReporters": [
|
45 | "lcov",
|
46 | "text",
|
47 | "text-summary",
|
48 | "json"
|
49 | ],
|
50 | "collectCoverageFrom": [
|
51 | "lib/**/*.{js,jsx,mjs}",
|
52 | "lib/index.js"
|
53 | ],
|
54 | "setupFiles": [],
|
55 | "testMatch": [
|
56 | "<rootDir>/spec/**/?(*.)(spec|test).{js,jsx,mjs}"
|
57 | ],
|
58 | "testEnvironment": "node",
|
59 | "transform": {},
|
60 | "transformIgnorePatterns": [
|
61 | "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs)$"
|
62 | ],
|
63 | "moduleNameMapper": {},
|
64 | "modulePaths": [
|
65 | "<rootDir>/lib"
|
66 | ],
|
67 | "moduleFileExtensions": [
|
68 | "web.js",
|
69 | "mjs",
|
70 | "js",
|
71 | "json",
|
72 | "web.jsx",
|
73 | "jsx",
|
74 | "node"
|
75 | ]
|
76 | },
|
77 | "devDependencies": {
|
78 | "@hapi/good": "^9.0.0",
|
79 | "@hapi/good-squeeze": "^6.0.0",
|
80 | "@hapi/hapi": "^19.1.1",
|
81 | "cross-env": "^7.0.2",
|
82 | "eslint": "^7.3.1",
|
83 | "eslint-config-goodway": "^2.1.1",
|
84 | "eslint-plugin-import": "^2.22.0",
|
85 | "husky": "^4.2.5",
|
86 | "jest": "^26.1.0"
|
87 | },
|
88 | "dependencies": {
|
89 | "@hapi/hoek": "^9.0.4",
|
90 | "debug": "^4.1.1",
|
91 | "lodash": "^4.17.15",
|
92 | "node-cache": "^5.1.2",
|
93 | "uuid": "^8.2.0"
|
94 | }
|
95 | }
|