UNPKG

snooplogg

Version:

Your mind on your logs and your logs on your mind

78 lines (77 loc) 1.97 kB
{ "name": "snooplogg", "version": "8.0.0", "description": "Your mind on your logs and your logs on your mind", "keywords": [ "console", "debug", "levels", "log", "logger", "logging", "logs", "snoop", "snooping" ], "homepage": "https://github.com/cb1kenobi/snooplogg", "bugs": [ { "type": "link", "url": "https://github.com/cb1kenobi/snooplogg/issues" } ], "license": "MIT", "author": { "name": "Chris Barber", "email": "me@chrisbarber.dev" }, "repository": { "type": "git", "url": "https://github.com/cb1kenobi/snooplogg" }, "files": [ "demo", "dist" ], "type": "module", "main": "./dist/index.cjs", "module": "./dist/index.mjs", "types": "./dist/index.d.cts", "exports": { ".": { "require": "./dist/index.cjs", "import": "./dist/index.mjs" }, "./*": "./*" }, "scripts": { "build": "rimraf dist && tsdown -c tsdown.config.ts", "check": "pnpm type-check && pnpm lint && pnpm fmt:check", "coverage": "vitest --coverage", "fmt": "oxfmt", "fmt:check": "oxfmt --check", "lint": "oxlint", "prepublishOnly": "pnpm run build", "test": "vitest", "test:bun": "bun --bun test --config=bunfig.toml", "test:deno": "deno run --allow-all --sloppy-imports ./node_modules/vitest/vitest.mjs", "test-no-tty": "node -e \"try { console.log(require('child_process').execSync('pnpm coverage').toString()); } catch (e) { console.log(e, e.stdout.toString()); console.log(e.stderr.toString()); }\"", "type-check": "tsc --noEmit" }, "devDependencies": { "@types/node": "26.1.0", "@vitest/coverage-v8": "4.1.9", "ansi-styles": "6.2.3", "lefthook": "2.1.9", "memory-streams": "0.1.3", "oxfmt": "0.57.0", "oxlint": "1.72.0", "rimraf": "6.1.3", "tsdown": "0.22.3", "typescript": "6.0.3", "vitest": "4.1.9" }, "engines": { "node": ">=18.17" } }