ts-log
Version:
Abstract logger TypeScript interface with a dummy logger that does nothing, useful for libraries.
64 lines (63 loc) • 1.55 kB
JSON
{
"name": "ts-log",
"version": "3.0.0",
"description": "Abstract logger TypeScript interface with a dummy logger that does nothing, useful for libraries.",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"files": [
"dist"
],
"author": "Stagnation Lab",
"keywords": [
"typescript",
"abstract",
"logger",
"console",
"dummy"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/kallaspriit/ts-log.git"
},
"engines": {
"node": ">=20"
},
"scripts": {
"build": "tsup",
"typecheck": "tsc --noEmit",
"lint": "eslint src/",
"lint:fix": "eslint --fix src/",
"format": "prettier --write src/",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"validate": "npm run format && npm run build && npm run typecheck && npm run lint && npm run test:coverage",
"prepublishOnly": "tsup"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/node": "^22.7.4",
"@vitest/coverage-v8": "^4.1.0",
"eslint": "^10.0.3",
"eslint-config-prettier": "^10.1.8",
"prettier": "^3.8.1",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"typescript-eslint": "^8.57.1",
"vitest": "^4.1.0"
}
}