{
  "name": "console-log-json",
  "version": "5.0.0",
  "description": "Drop-in structured JSON logging for Node.js and the browser. Zero dependencies. Replaces console.log() with single-line JSON output including stack traces, timestamps, and source file tracking. Works with DataDog, Splunk, LogDNA, OpenSearch, CloudWatch, and ELK.",
  "private": false,
  "types": "dist/index.d.ts",
  "main": "dist/index.js",
  "module": "dist/esm/index.mjs",
  "exports": {
    ".": {
      "import": {
        "types": "./dist/esm/index.d.ts",
        "default": "./dist/esm/index.mjs"
      },
      "require": {
        "types": "./dist/index.d.ts",
        "default": "./dist/index.js"
      }
    }
  },
  "license": "MIT",
  "browser": {
    "fs": false,
    "path": false,
    "dotenv": false,
    "source-map-support": false
  },
  "engines": {
    "node": ">=10"
  },
  "sideEffects": true,
  "files": [
    "dist/src/**/*",
    "dist/esm/index.mjs",
    "dist/esm/index.mjs.map",
    "dist/esm/index.d.ts",
    "dist/index.js",
    "dist/index.d.ts",
    "dist/index.js.map",
    "CHANGELOG.md"
  ],
  "keywords": [
    "logging",
    "json-logging",
    "structured-logging",
    "console",
    "console.log",
    "log",
    "json",
    "browser",
    "frontend",
    "zero-dependencies",
    "DataDog",
    "Splunk",
    "LogDNA",
    "OpenSearch",
    "CloudWatch",
    "ELK",
    "stack-traces",
    "drop-in",
    "universal"
  ],
  "scripts": {
    "prebuild": "",
    "build": "npm run format:prettier && npm run lint && tsc -sourcemap && npm run build:esm",
    "build:esm": "node -e \"require('esbuild').buildSync({entryPoints:['src/index.ts'],outfile:'dist/esm/index.mjs',bundle:true,format:'esm',platform:'node',sourcemap:true,target:'es2017'})\" && tsc -p tsconfig.esm.json --emitDeclarationOnly",
    "test": "mocha \"dist/test/**/*.js\"",
    "build:watch": "tsc -w",
    "clean": "rm -rf dist && rm -rf node_modules || (find node_modules -delete 2>/dev/null; true)",
    "clean-only-dist": "rm -rf dist",
    "audit": "npm audit --production",
    "prepublishOnly": "npm run clean-only-dist && npm run install:prod && npm run build && npm run test && npm run prune:prod",
    "preversion": "npm run build && npm run test",
    "format:prettier": "prettier --write \"src/**/*.ts\"",
    "lint": "tslint -p tsconfig.json",
    "install:prod": "npm ci",
    "prune:prod": "npm prune --production",
    "refresh-package-locks": "npm run clean && find . -iname package-lock.json -delete && npm install",
    "interactive-publish": "npm run build && np",
    "install-latest-npm": "npm install -g npm@9"
  },
  "repository": {
    "type": "git",
    "url": "git@github.com:hiro5id/console-log-json.git"
  },
  "//#### dependencies-documentation": {
    "": ""
  },
  "optionalDependencies": {
    "dotenv": "16.4.5",
    "source-map-support": "^0.5.21"
  },
  "devDependencies": {
    "@types/chai": "^4.2.19",
    "@types/cheerio": "^0.22.29",
    "@types/mocha": "^8.2.2",
    "@types/node": "^20.2.5",
    "@types/request-promise": "^4.1.47",
    "@types/sinon": "17.0.3",
    "chai": "^4.3.4",
    "cheerio": "1.0.0-rc.10",
    "create-ts-index": "^1.14.0",
    "esbuild": "^0.21.5",
    "mocha": "^10.2.0",
    "np": "11.0.3",
    "prettier": "^2.3.1",
    "puppeteer-core": "^21.0.0",
    "request": "^2.88.2",
    "request-promise": "^4.2.6",
    "rimraf": "^3.0.2",
    "sinon": "17.0.1",
    "ts-node": "^10.9.1",
    "tslint": "^6.1.3",
    "tslint-config-prettier": "^1.18.0",
    "typescript": "^4.4.2"
  }
}
