UNPKG

simpl-loggar

Version:
85 lines (84 loc) 2.24 kB
{ "name": "simpl-loggar", "version": "0.7.7", "description": "Simple node.js logger", "productName": "simpl-loggar", "author": "https://github.com/Virus288", "license": "Apache-2.0", "private": false, "type": "module", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { "import": "./lib/index.js", "require": "./lib/commonIndex.cjs" }, "files": [ "/lib", "/types" ], "repository": { "type": "git", "url": "https://github.com/Virus288/SimpleLogger" }, "keywords": [ "log", "logging", "logger", "node.js", "typescript", "javascript" ], "scripts": { "build": "tsc -p tsconfig.json", "build:common": "rollup --config", "build:watch": "tsc -w -p tsconfig.json", "lint": "cross-env NODE_ENV=development eslint -c eslint.config.mjs . --fix", "listErrors": "node_modules/.bin/tsc --skipLibCheck -p tsconfig.json", "lintStaged": "npx lint-staged" }, "dependencies": { "@elastic/ecs-winston-format": "^1.5.3", "chalk": "4.1.2", "winston": "3.17.0", "winston-daily-rotate-file": "5.0.0", "winston-loki": "^6.1.3" }, "devDependencies": { "@eslint/compat": "^1.2.2", "@eslint/eslintrc": "^3.1.0", "@eslint/js": "^9.9.0", "@rollup/plugin-commonjs": "^28.0.0", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^16.0.0", "@types/node": "22.10.7", "@typescript-eslint/eslint-plugin": "8.21.0", "@typescript-eslint/parser": "8.21.0", "cross-env": "7.0.3", "eslint": "9.18.0", "eslint-config-prettier": "10.0.1", "eslint-plugin-check-file": "2.8.0", "eslint-plugin-import": "2.31.0", "eslint-plugin-jest": "28.11.0", "eslint-plugin-jsdoc": "^50.0.0", "eslint-plugin-prettier": "5.2.3", "eslint-plugin-sort-class-members": "1.21.0", "prettier": "3.4.2", "rollup": "^4.22.5", "typescript": "5.7.3" }, "engines": { "node": ">=16" }, "peerDependencies": { "typescript": ">=5.0.0" }, "lint-staged": { "*.ts": [ "cross-env NODE_ENV=development eslint --cache" ], "*.json,.{eslintrc,prettierrc}": [ "prettier --ignore-path .eslintignore --parser json --write" ] } }