UNPKG

@soinlabs/hawk

Version:

Package to better manage errors, logs, and its notifications

87 lines (86 loc) 2.34 kB
{ "name": "@soinlabs/hawk", "version": "1.0.1", "main": "index.js", "license": "MIT", "repository": "https://github.com/SoinLabs/hawk", "author": "SoinLabs <soinlabs@soin.co.cr>", "description": "Package to better manage errors, logs, and its notifications", "dependencies": { "@elastic/ecs-winston-format": "^1.5.3", "@slack/webhook": "^7.0.5", "@soinlabs/errors": "^1.0.1", "axios": "^1.9.0", "clean-stack": "3.0.1", "winston": "^3.17.0", "winston-console-format": "^1.0.8", "winston-daily-rotate-file": "^4.7.1" }, "keywords": [ "hawk", "logger", "log", "logs", "error", "errors", "elastic", "slack" ], "devDependencies": { "@commitlint/cli": "^19.3.0", "@commitlint/config-conventional": "^19.2.2", "@eslint/js": "^9.4.0", "codecov": "^3.8.3", "commitizen": "^4.3.0", "cz-conventional-changelog-emoji": "^0.1.0", "eslint": "^9.4.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-jest": "^28.5.0", "eslint-plugin-prettier": "^5.1.3", "globals": "^15.3.0", "husky": "^9.0.11", "jest": "^29.7.0", "lint-staged": "^15.2.5", "nodemon": "^3.1.3", "prettier": "^3.3.1" }, "scripts": { "start": "node ./index.js", "dev": "nodemon ./index.js", "debug": "node --inspect-brk ./index.js", "test": "jest --forceExit --detectOpenHandles --silent __test__", "node:test": "node --test test/", "lint": "eslint .", "format": "yarn run prettier -- --write", "prettier": "prettier \"**/*.+(js|jsx|json|yml|yaml|css|less|scss|ts|tsx|md|graphql|mdx)\"", "validate": "yarn run lint && yarn run prettier -- --list-different", "pre-commit": "lint-staged", "commit": "yarn pre-commit && git-cz" }, "jest": { "verbose": true, "testEnvironmentOptions": { "url": "http://localhost/" }, "testEnvironment": "node", "testPathIgnorePatterns": [ "node_modules/", "logs" ], "restoreMocks": true, "bail": true, "testTimeout": 10000, "collectCoverage": true }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog-emoji" } }, "husky": { "hooks": { "pre-commit": "yarn pre-commit", "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } } }