UNPKG

ts-log

Version:

Abstract logger TypeScript interface with a dummy logger that does nothing, useful for libraries.

75 lines (74 loc) 2.2 kB
{ "name": "ts-log", "version": "2.2.7", "description": "Abstract logger TypeScript interface with a dummy logger that does nothing, useful for libraries.", "main": "build/src/index.js", "types": "build/src/index.d.ts", "author": "Stagnation Lab", "keywords": [ "typescript", "abstract", "logger", "console", "dummy" ], "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/kallaspriit/ts-log.git" }, "scripts": { "start": "nodemon --inspect example/index.ts", "build": "npm run tidy:build && tsc", "production": "node build/example/index", "lint": "eslint src/**/*.ts", "lint-fix": "eslint --fix src/**/*.ts", "prettier": "prettier --write src/**/*.ts example/**/*.ts", "tidy": "npm run tidy:build && npm run tidy:coverage", "tidy:build": "rimraf build", "tidy:coverage": "rimraf coverage", "test": "jest", "test-watch": "jest --watch --collectCoverage", "coverage": "npm run tidy:coverage && jest --collectCoverage", "validate": "npm run prettier && npm run build && npm run lint && npm run coverage", "coveralls": "cat ./coverage/lcov.info | coveralls" }, "devDependencies": { "@types/jest": "^29.5.13", "@types/node": "^22.7.4", "@typescript-eslint/eslint-plugin": "^7.18.0", "@typescript-eslint/parser": "^7.18.0", "coveralls": "^3.1.1", "eslint": "^8.57.1", "eslint-config-airbnb-typescript": "^18.0.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.30.0", "eslint-plugin-prettier": "^5.2.1", "jest": "^29.7.0", "nodemon": "^3.1.7", "prettier": "^3.3.3", "rimraf": "^6.0.1", "ts-jest": "^29.2.5", "tslint": "^5.20.1", "typescript": "^5.6.2" }, "jest": { "transform": { "^.+\\.(ts|tsx)$": "ts-jest" }, "roots": [ "src" ], "collectCoverage": false, "collectCoverageFrom": [ "src/**/*.ts" ], "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$", "moduleFileExtensions": [ "ts", "tsx", "js", "json" ] } }