UNPKG

@goodwaygroup/lib-hapi-good-tracer

Version:

Hapi plugin for injecting tracer info into response headers and logs

94 lines (93 loc) 2.4 kB
{ "name": "@goodwaygroup/lib-hapi-good-tracer", "version": "0.6.3", "description": "Hapi plugin for injecting tracer info into response headers and logs", "main": "index.js", "scripts": { "test": "npm run test:jest -- --coverage", "test:jest": "cross-env NODE_ENV=test jest ", "test:watch": "npm run test:jest -- --watch", "test:results": "open ./coverage/lcov-report/index.html", "lint": "eslint .", "lint:fix": "eslint --fix .", "version": "git-chglog -o CHANGELOG.md --next-tag v$(grep '\\\"version\\\":' package.json | grep -v git-chglog | awk -F '\\\"' '{print $4}') && git add CHANGELOG.md", "prepare": "husky install" }, "repository": { "type": "git", "url": "git+https://github.com/GoodwayGroup/lib-hapi-good-tracer.git" }, "author": "https://www.npmjs.com/~clok", "license": "MIT", "bugs": { "url": "https://github.com/GoodwayGroup/lib-hapi-good-tracer/issues" }, "homepage": "https://github.com/GoodwayGroup/lib-hapi-good-tracer#readme", "keywords": [ "hapi", "metrics", "plugin", "request", "trace", "heaeders", "instrumentation", "monitoring" ], "jest": { "clearMocks": true, "coverageDirectory": "<rootDir>/coverage", "coverageReporters": [ "lcov", "text", "text-summary", "json" ], "collectCoverageFrom": [ "lib/**/*.{js,jsx,mjs}", "lib/index.js" ], "setupFiles": [], "testMatch": [ "<rootDir>/spec/**/?(*.)(spec|test).{js,jsx,mjs}" ], "testEnvironment": "node", "transform": {}, "transformIgnorePatterns": [ "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs)$" ], "moduleNameMapper": {}, "modulePaths": [ "<rootDir>/lib" ], "moduleFileExtensions": [ "web.js", "mjs", "js", "json", "web.jsx", "jsx", "node" ] }, "devDependencies": { "@hapi/good": "9.0.1", "@hapi/good-squeeze": "6.0.0", "@hapi/hapi": "20.2.1", "cross-env": "7.0.3", "eslint": "7.32.0", "eslint-config-goodway": "3.2.1", "eslint-plugin-import": "2.25.4", "husky": "7.0.4", "jest": "27.4.7", "nock": "13.2.2" }, "dependencies": { "@hapi/boom": "9.1.4", "@hapi/hoek": "9.2.1", "axios": "0.25.0", "debug": "4.3.3", "lodash": "4.17.21", "node-cache": "5.1.2", "uuid": "8.3.2" } }