UNPKG

loggerr

Version:

A simple logger to console or file

54 lines (53 loc) 1.64 kB
{ "name": "loggerr", "version": "4.6.0", "description": "A simple logger to console or file", "main": "index.js", "type": "commonjs", "scripts": { "setup": "npm install", "test": "npm run examples && mocha && npm run test:types", "test:debug": "mocha --inspect --inspect-brk --timeout=0", "test:cover": "c8 mocha", "test:only": "mocha", "test:types": "tsc --noEmit test/types.ts", "lint": "standard", "examples": "for i in examples/*; do echo \"\n======-----======\n $i\n======-----======\n\"; node \"$i\"; done", "prerelease": "git pull --ff-only && npm run lint && npm test && standard-version && npm login", "release": "npm publish --access=public --tag=\"${1:-latest}\"", "postrelease": "(npm logout || true) && git push --follow-tags && gh release create --draft --generate-notes \"v$(cat package.json | jq -r .version)\"" }, "keywords": [ "log", "logger", "file", "console", "cli", "sync" ], "author": "Wes Todd", "license": "ISC", "repository": { "type": "git", "url": "https://github.com/wesleytodd/loggerr.git" }, "bugs": { "url": "https://github.com/wesleytodd/loggerr/issues" }, "homepage": "https://github.com/wesleytodd/loggerr", "dependencies": { "chalk": "^4.1.0", "string-length": "^4.0.2" }, "devDependencies": { "@rollup/plugin-commonjs": "^29.0.0", "@rollup/plugin-node-resolve": "^16.0.3", "c8": "^10.1.3", "expect-type": "^1.3.0", "mocha": "^11.7.5", "rollup": "^4.53.3", "standard": "^17.1.2", "standard-version": "^9.5.0", "typescript": "^5.9.3" } }