UNPKG

@freik/logger

Version:

A simple (typed!) wrapper around 'debug'

70 lines (69 loc) 2.21 kB
{ "name": "@freik/logger", "version": "0.4.10", "description": "A simple (typed!) wrapper around 'debug'", "author": "Kevin Frei (kevinfrei@hotmail.com)", "license": "Unlicense", "repository": { "type": "git", "url": "git+https://github.com/kevinfrei/packages.git" }, "homepage": "https://github.com/kevinfrei/packages#readme", "bugs": { "url": "https://github.com/kevinfrei/packages/issues" }, "keywords": [ "js-utils", "logging", "logger", "typescript" ], "files": [ "lib/*" ], "types": "./lib/esm/index.d.ts", "exports": { ".": { "import": "./lib/esm/index.js", "require": "./lib/cjs/index.js" } }, "scripts": { "justtest": "bun test", "watch": "bun test --watch", "clean": "rm -rf lib", "release": "bun run build", "buildesm": "bun build --entrypoints src/index.ts --minify --external debug --outdir ./lib/esm --format esm", "buildcjs": "bun build --entrypoints src/index.ts --minify --external debug --outdir ./lib/cjs --format cjs", "buildtypes": "tsc --project tsconfig.esm.json --emitDeclarationOnly --outdir ./lib/esm", "build": "bun run clean && bun run buildesm && bun run buildcjs && bun run buildtypes", "dbgbuild": "bun run clean && tools make-module --map src/*.ts", "cleanbuild": "bun run clean && bun run build", "prepublishOnly": "bun run test", "prepare": "bun run release", "lint": "eslint --fix src", "preversion": "bun run lint", "typechk": "tsc --noEmit --project tsconfig.esm.json", "test": "bun run lint && bun run typechk && bun run justtest", "doc": "typedoc ./src/index.ts --readme none --tsconfig tsconfig.esm.json" }, "dependencies": { "debug": "^4.4.0" }, "devDependencies": { "@types/bun": "^1.3.11", "@types/debug": "^4.1.13", "@typescript-eslint/eslint-plugin": "^8.57.2", "@typescript-eslint/parser": "^8.57.2", "babel-eslint": "^10.1.0", "eslint": "^10.1.0", "eslint-config-prettier": "^10.1.1", "typedoc": "^0.28.7", "typedoc-plugin-markdown": "^4.7.0", "typescript": "^6.0.2" }, "engines": { "node": "^14.13.1 || >= 16.0.0" }, "sideEffects": false }