@freik/logger
Version:
A simple (typed!) wrapper around 'debug'
70 lines (69 loc) • 2.28 kB
JSON
{
"name": "@freik/logger",
"version": "0.4.4",
"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.cjs.json && 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.2.5",
"@types/debug": "^4.1.12",
"@typescript-eslint/eslint-plugin": "^8.26.1",
"@typescript-eslint/parser": "^8.26.1",
"babel-eslint": "^10.1.0",
"eslint": "^9.22.0",
"eslint-config-prettier": "^10.1.1",
"typedoc": "^0.28.0",
"typedoc-plugin-markdown": "^4.4.2",
"typescript": "^5.8.2"
},
"engines": {
"node": "^14.13.1 || >= 16.0.0"
},
"gitHead": "0ee0130febfb999a66d80374aaa95e136cf8ff13"
}