UNPKG

aono-file-handler

Version:

Aono handler that write to a log file with support for custom formatters and log rotation.

57 lines (56 loc) 1.71 kB
{ "name": "aono-file-handler", "version": "2.2.0", "description": "Aono handler that write to a log file with support for custom formatters and log rotation.", "main": "index.js", "scripts": { "clean": "rm -rf lib #", "compile": "tsc", "test": "TS_NODE_FILES=1 mocha --use_strict -r ts-node/register src/mocha.config.ts $(find src -name \"*.spec.ts\")", "copy": "mkdir -p lib/ && cp package*.json lib/ && cp README.md lib/ && cp LICENSE lib/", "build": "npm run compile && npm run copy && npm run test", "clean-build": "npm run clean && npm run build", "watch": "watch 'npm run clean-build' src", "deploy": "npm install && npm run clean-build && cd lib && npm publish" }, "repository": { "type": "git", "url": "git+https://github.com/aono-logger/aono-file-handler.git" }, "keywords": [ "file", "handler", "aono", "node", "logger", "log", "logging", "typescript" ], "author": "Maciej Chałapuk <maciej@chalapuk.pl>", "license": "MIT", "bugs": { "url": "https://github.com/aono-logger/aono-file-handler/issues" }, "homepage": "https://github.com/aono-logger/aono-file-handler#readme", "devDependencies": { "@types/glob": "^8.1.0", "@types/mocha": "^10.0.6", "@types/node": "^14.14.19", "@types/should": "^13.0.0", "@types/should-sinon": "0.0.8", "@types/sinon": "^17.0.2", "fake-promise": "^2.5.44", "glob": "^10.3.10", "mocha": "^10.2.0", "should": "^13.2.3", "should-sinon": "0.0.6", "sinon": "^17.0.1", "source-map-support": "^0.5.21", "ts-node": "^10.9.1", "typescript": "^4.1.3" }, "peerDependencies": { "aono": "^2.0.0" } }