UNPKG

@anishsharma/betterlogs

Version:

A lightweight yet powerful logging library that makes console output elegant, expressive, and customizable

70 lines (68 loc) 2.23 kB
{ "name": "@anishsharma/betterlogs", "version": "1.0.0", "description": "A lightweight yet powerful logging library that makes console output elegant, expressive, and customizable", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "type": "module", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.js" } }, "scripts": { "build": "tsup src/index.ts --format cjs,esm --dts --clean", "dev": "tsup src/index.ts --format cjs,esm --dts --watch", "test": "vitest run", "test:watch": "vitest", "test:coverage": "vitest run --coverage", "test:ui": "vitest --ui", "test:coverage:detailed": "vitest run --coverage --reporter=verbose", "test:coverage:html": "vitest run --coverage && open coverage/index.html", "lint": "eslint src --ext .ts", "lint:fix": "eslint src --ext .ts --fix", "prepublishOnly": "npm run build && npm test && npm run lint" }, "keywords": [ "logging", "console", "logger", "browser", "node", "typescript", "pretty-logs", "colored-logs", "themes", "emoji-logs" ], "author": "Anish Sharma <anishdev02@gmail.com> (https://github.com/anishdevtech)", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/anishdevtech/betterlogs.git" }, "homepage": "https://github.com/anishdevtech/betterlogs#readme", "bugs": { "url": "https://github.com/anishdevtech/betterlogs/issues" }, "engines": { "node": ">=16.0.0" }, "devDependencies": { "@types/node": "^20.0.0", "@typescript-eslint/eslint-plugin": "^8.46.3", "@typescript-eslint/parser": "^8.46.3", "@vitest/coverage-istanbul": "^4.0.7", "@vitest/coverage-v8": "^4.0.7", "@vitest/ui": "^4.0.7", "eslint": "^8.57.1", "jsdom": "^23.0.0", "prettier": "^3.0.0", "tsup": "^8.0.0", "typescript": "^5.0.0", "vitest": "^4.0.7" } }