UNPKG

@jvddavid/pino-rotating-file

Version:

A transport for pino that writes logs to rotating files

92 lines (91 loc) 2.34 kB
{ "name": "@jvddavid/pino-rotating-file", "license": "MIT", "version": "1.0.7", "description": "A transport for pino that writes logs to rotating files", "keywords": [ "pino-rotating-file", "pino", "rotating", "file", "log", "logger", "transport", "folder", "rotate", "node", "nodejs", "typescript" ], "type": "module", "module": "dist/index.js", "main": "dist/index.cjs", "types": "dist/index.d.ts", "files": [ "dist", "README.md", "package.json", "tsconfig.json" ], "author": { "name": "João Victor Davi de Oliveira", "email": "j.victordavid2@gmail.com", "url": "https://github.com/jvddavid/pino-rotating-file" }, "repository": { "type": "git", "url": "git+ssh://git@github.com/jvddavid/pino-rotating-file.git" }, "bugs": { "url": "https://github.com/jvddavid/pino-rotating-file/issues" }, "homepage": "https://github.com/jvddavid/pino-rotating-file", "engines": { "node": ">=18", "npm": ">=8" }, "devDependencies": { "@biomejs/biome": "^1.8.3", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^11.1.6", "@types/jest": "^29.5.12", "@types/node": "^20.14.10", "dts-bundle-generator": "^9.5.1", "jest": "^29.7.0", "pino": "^9.2.0", "rollup": "^4.18.1", "ts-jest": "^29.2.2", "tsx": "^4.16.2", "@jvddavid/pino-rotating-file": "file:./" }, "peerDependencies": { "typescript": "^5.5.3", "tslib": "^2.6.3" }, "dependencies": { "close-with-grace": "^2.1.0", "pino-abstract-transport": "^1.2.0", "sonic-boom": "^4.0.1" }, "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.cjs" } }, "scripts": { "prepublishOnly": "npm run lint && npm run build && npm run test", "build:types": "dts-bundle-generator --project ./tsconfig.json ./src/index.ts -o ./dist/index.d.ts", "build:rollup": "rollup --config rollup.config.ts --configPlugin typescript", "build": "npm run build:types && npm run build:rollup", "lint": "biome lint", "test": "jest", "test:watch": "jest --watch", "dev": "tsx --watch src/index.ts", "start": "node dist/index.js" }, "trustedDependencies": [ "@biomejs/biome" ] }