{
  "name": "local-iso-logger",
  "version": "1.3.0",
  "description": "Simple logger with local timestamps in ISO8601 format, and clean stack traces on errors",
  "keywords": [
    "log",
    "logger",
    "logging",
    "timestamp"
  ],
  "homepage": "https://github.com/dandv/local-iso-logger#readme",
  "bugs": {
    "url": "https://github.com/dandv/local-iso-logger/issues"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/dandv/local-iso-logger.git"
  },
  "license": "MIT",
  "author": {
    "name": "Dan Dascalescu",
    "url": "https://github.com/dandv"
  },
  "type": "commonjs",
  "exports": {
    "node": {
      "import": "./index.mjs",
      "require": "./index.js"
    },
    "default": "./index.mjs"
  },
  "main": "index.js",
  "files": [
    "index.ts",
    "index.mjs",
    "index.js"
  ],
  "scripts": {
    "clean": "rm index*.js index.mjs",
    "example": "tsc example.ts && node example.js",
    "lint": "eslint index*.ts",
    "prepublishOnly:cjs": "tsc index.ts --removeComments",
    "prepublishOnly:esm": "tsc index.ts -t ES2015 --types node --moduleResolution node && mv index.js index.mjs",
    "prepublishOnly": "npm run prepublishOnly:esm; npm run prepublishOnly:cjs",
    "test": "jest"
  },
  "dependencies": {
    "clean-stack": "^3.0.1",
    "local-iso-dt": "^3.1.0",
    "serialize-error": "^8.0.1"
  },
  "devDependencies": {
    "@types/jest": "^26.0.20",
    "@types/node": "^14.14.22",
    "@typescript-eslint/eslint-plugin": "^4.14.2",
    "@typescript-eslint/parser": "^4.14.2",
    "eslint": "^7.19.0",
    "eslint-plugin-jest": "^24.1.3",
    "jest": "^26.6.3",
    "ts-jest": "^26.5.0",
    "typescript": "^4.1.3"
  },
  "comments": {
    "scripts": {
      "prepublishOnly:esm": "TypeScript can't generate .mjs output directly (https://github.com/microsoft/TypeScript/issues/18442) and --outFile doesn't work with ES Modules"
    },
    "exports": "[Conditional exports](https://nodejs.org/api/esm.html#esm_conditional_exports) enable TypeScript code transpiled with ES Modules, to use named imports. TypeScript doesn't directly support .mjs input files - https://github.com/microsoft/TypeScript/issues/27957"
  }
}
