rotating-file-stream
Version:
Opens a stream.Writable to a file rotated by interval and/or size. A logrotate alternative.
72 lines (71 loc) • 2.25 kB
JSON
{
"name": "rotating-file-stream",
"version": "3.2.3",
"description": "Opens a stream.Writable to a file rotated by interval and/or size. A logrotate alternative.",
"scripts": {
"all": "npm run eslint && npm run coverage",
"coverage": "rm -rf dist && TZ=Europe/Rome jest --coverage --runInBand",
"eslint": "eslint index.ts utils.ts test/*ts",
"ignore": "tsx utils ignore",
"prepare": "npm run ignore && tsc -p tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json && tsc -p tsconfig.esm.json && tsc -p tsconfig.types.json",
"test": "rm -rf dist && TZ=Europe/Rome jest --runInBand"
},
"bugs": "https://github.com/iccicci/rotating-file-stream/issues",
"repository": "https://github.com/iccicci/rotating-file-stream",
"keywords": [
"log",
"rotate",
"logrotate"
],
"engines": {
"node": ">=14.0"
},
"author": "Daniele Ricci <daniele.icc@gmail.com> (https://github.com/iccicci)",
"contributors": [
"cicci (https://www.trinityteam.it/DanieleRicci#en)",
"allevo",
"kbirger",
"jvassev",
"wangao",
"rakshith-ravi",
"Jorge Silva <jorgemsrs@gmail.com>",
"Jan Christoph Bernack <jc.bernack@gmail.com>",
"cchare (https://github.com/cchare)"
],
"license": "MIT",
"funding": {
"url": "https://www.blockchain.com/btc/address/12p1p5q7sK75tPyuesZmssiMYr4TKzpSCN"
},
"readmeFilename": "README.md",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
}
},
"type": "module",
"devDependencies": {
"@types/jest": "29.5.12",
"@types/node": "20.14.2",
"@typescript-eslint/eslint-plugin": "6.16.0",
"@typescript-eslint/parser": "6.16.0",
"eslint": "8.56.0",
"eslint-plugin-sort-keys": "2.3.5",
"jest": "29.7.0",
"jest-environment-node-single-context": "29.4.0",
"prettier": "3.3.1",
"ts-jest": "29.1.4",
"tsx": "4.15.1",
"typescript": "5.4.5"
},
"prettier": {
"arrowParens": "avoid",
"jsxBracketSameLine": true,
"printWidth": 200,
"trailingComma": "none"
}
}