UNPKG

@atton16/logger

Version:

A pre-configured winston logger for web services.

81 lines (80 loc) 1.95 kB
{ "name": "@atton16/logger", "version": "1.5.3", "description": "A pre-configured winston logger for web services.", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "prebuild": "rimraf dist", "build": "tsc", "prebuild:watch": "rimraf dist", "build:watch": "tsc -w", "test": "jest", "test:watch": "jest --watch", "test:cov": "jest --coverage", "release": "standard-version", "prepare": "npm run build" }, "keywords": [ "logger", "winston", "nest-winston", "backend", "service", "web", "web service", "web framework", "nestjs", "typescript" ], "author": "Attawit Kittikrairit <atton16@gmail.com> (https://attawit.me)", "license": "ISC", "repository": { "type": "git", "url": "https://github.com/atton16/logger.git" }, "jest": { "moduleFileExtensions": [ "js", "json", "ts" ], "rootDir": "src", "testRegex": ".spec.ts$", "transform": { "^.+\\.(t|j)s$": "ts-jest" }, "collectCoverageFrom": [ "**/*.(t|j)s" ], "coverageDirectory": "../coverage", "testEnvironment": "node" }, "devDependencies": { "@types/jest": "^26.0.0", "@types/node": "^14.0.13", "@typescript-eslint/eslint-plugin": "^3.3.0", "@typescript-eslint/parser": "^3.3.0", "eslint": "^7.2.0", "eslint-config-prettier": "^6.11.0", "eslint-plugin-import": "^2.21.2", "jest": "^26.0.1", "prettier": "^2.0.5", "standard-version": "^9.2.0", "ts-jest": "^26.1.0", "tsc-watch": "^4.2.8", "typescript": "^3.9.5" }, "dependencies": { "@nestjs/common": "^7.1.3", "cli-color": "^2.0.0", "express": "^4.17.1", "fast-safe-stringify": "^2.0.7", "logform": "^2.1.2", "nest-winston": "^1.3.5", "reflect-metadata": "^0.1.13", "rxjs": "^6.5.5", "winston": "^3.2.1", "winston-daily-rotate-file": "^4.5.0" } }