{
  "name": "console-log-json",
  "version": "6.4.1",
  "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,
    "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": "jest",
    "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": {
    "source-map-support": "^0.5.21"
  },
  "devDependencies": {
    "@types/chai": "5.2.3",
    "@types/jest": "30.0.0",
    "@types/node": "25.6.0",
    "@types/sinon": "21.0.1",
    "chai": "6.2.2",
    "esbuild": "0.28.0",
    "jest": "30.3.0",
    "np": "11.1.0",
    "prettier": "3.8.3",
    "puppeteer-core": "24.41.0",
    "sinon": "21.1.2",
    "ts-jest": "29.4.9",
    "tslint": "6.1.3",
    "tslint-config-prettier": "1.18.0",
    "typescript": "6.0.3"
  }
}
