UNPKG

better-logging

Version:

better-logging is a drop in replacement for the default logging methods of node.js

69 lines (68 loc) 1.89 kB
{ "name": "better-logging", "version": "5.0.0", "description": "better-logging is a drop in replacement for the default logging methods of node.js", "main": "./index.js", "typings": "./dist/api.d.ts", "types": "./dist/api.d.ts", "scripts": { "demo:ts": "ts-node demo/typescript.ts", "demo:js": "node demo/javascript.js", "demo:nocolor:ts": "ts-node demo/noColor.ts", "demo:nocolor:js": "node demo/noColor.js", "demo:express:ts": "ts-node demo/express.ts", "demo:express:js": "node demo/express.js", "demo:save:ts": "ts-node demo/saveToFile.ts", "demo:save:js": "node demo/saveToFile.js", "prepublishOnly": "npm run lint && npm run build && npm run test", "test": "mocha 'test/**/*.test.js'", "build": "rm -rf ./dist && tsc", "lint": "trunk fmt ./src/**/*.ts", "lint:nofix": "trunk fmt --no-fix ./src/**/*.ts" }, "engines": { "node": ">=12" }, "repository": { "type": "git", "url": "git+https://github.com/Olian04/better-logging.git" }, "keywords": [ "node", "logging", "console.log", "console", "log", "warn", "info", "error", "debug", "loglevel" ], "author": "Olian04", "license": "MIT", "bugs": { "url": "https://github.com/Olian04/better-logging/issues" }, "homepage": "https://github.com/Olian04/better-logging#readme", "dependencies": { "@olian/typescript-helpers": "^3.2.1", "@types/node": "^17.0.35", "chalk": "^4.1.2", "fast-safe-stringify": "^2.1.1" }, "devDependencies": { "@trunkio/launcher": "^1.1.1", "@types/chai": "^4.3.1", "@types/express": "^4.17.13", "@types/mocha": "^9.1.1", "@types/typescript": "^2.0.0", "chai": "^4.3.6", "express": "^4.18.1", "memfs": "^3.4.3", "mocha": "^10.0.0", "ts-node": "^10.8.0", "tslint": "^6.1.3", "typescript": "^4.7.2" } }