UNPKG

filebeat-logger

Version:

A winston logger that prints json lines in elastic common schema format

101 lines (100 loc) 2.31 kB
{ "name": "filebeat-logger", "version": "1.4.0", "description": "A winston logger that prints json lines in elastic common schema format", "main": "src/index.js", "types": "src/index.d.ts", "dependencies": { "winston": "^3.13.0", "winston-transport": "^4.7.0" }, "scripts": { "prepublishOnly": "npm run depcheck && npm run build && npm run lint && npm run test", "build": "tsc", "test": "jest --coverage", "lint": "eslint .", "depcheck": "depcheck --ignores @types/jest" }, "devDependencies": { "@types/jest": "^29.5.12", "@types/winston": "^2.4.4", "@typescript-eslint/eslint-plugin": "^7.4.0", "@typescript-eslint/parser": "^7.4.0", "depcheck": "^1.4.7", "eslint": "^8.57.0", "jest": "^29.7.0", "mockdate": "^3.0.5", "ts-jest": "^29.1.2", "typescript": "^5.4.3" }, "engines": { "node": ">=16.0.0" }, "eslintConfig": { "parser": "@typescript-eslint/parser", "plugins": [ "@typescript-eslint" ], "ignorePatterns": [ "*.js" ], "extends": [ "eslint:recommended", "plugin:@typescript-eslint/recommended" ], "rules": { "@typescript-eslint/no-explicit-any": [ "off" ], "@typescript-eslint/explicit-module-boundary-types": [ "off" ], "@typescript-eslint/semi": [ "error" ], "@typescript-eslint/quotes": [ "error" ], "@typescript-eslint/comma-dangle": [ "error", "always-multiline" ], "@typescript-eslint/member-delimiter-style": [ "error" ] } }, "jest": { "preset": "ts-jest", "testMatch": [ "**/*.test.ts" ], "coverageReporters": [ "lcov", "json-summary", "text-summary", "text" ] }, "author": "Mads Jon Nielsen <madsjon@gmail.com>", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/firecow/node-filebeat-logger.git" }, "bugs": { "url": "https://github.com/firecow/node-filebeat-logger/issues" }, "homepage": "https://github.com/firecow/node-filebeat-logger#readme", "keywords": [ "ecs", "elastic", "common", "schema", "filebeat", "winston", "ndjson", "jsonl", "format" ] }