{
  "name": "nestjs-auditlog",
  "version": "1.5.6",
  "description": "A powerful package for auditlog using opentelemetry in NestJS applications",
  "main": "build/main/index.js",
  "types": "build/main/index.d.ts",
  "license": "MIT",
  "author": "Daniel Le <thanhlcm90@gmail.com>",
  "repository": {
    "type": "git",
    "url": "https://github.com/thanhlcm90/nestjs-auditlog"
  },
  "homepage": "https://github.com/thanhlcm90/nestjs-auditlog#readme",
  "scripts": {
    "precommit": "lint-staged",
    "prepare": "husky install",
    "husky": "husky install",
    "build": "run-p build:*",
    "build:main": "tsc -p tsconfig.build.json",
    "start": "nest start --watch",
    "fix": "run-s fix:*",
    "fix:prettier": "prettier \"src/**/*.ts\" --write",
    "fix:lint": "eslint src --ext .ts --fix",
    "test": "run-s build test:*",
    "test:lint": "eslint src --ext .ts",
    "test:prettier": "prettier \"src/**/*.ts\" --list-different",
    "test:spelling": "cspell \"{README.md,.github/*.md,src/**/*.ts}\"",
    "test:unit": "nyc --silent ava --verbose --serial",
    "check-cli": "run-s test diff-integration-tests check-integration-tests",
    "check-integration-tests": "run-s check-integration-test:*",
    "diff-integration-tests": "mkdir -p diff && rm -rf diff/test && cp -r test diff/test && rm -rf diff/test/test-*/.git && cd diff && git init --quiet && git add -A && git commit --quiet --no-verify --allow-empty -m 'WIP' && echo '\\n\\nCommitted most recent integration test output in the \"diff\" directory. Review the changes with \"cd diff && git diff HEAD\" or your preferred git diff viewer.'",
    "watch:build": "tsc -p tsconfig.json -w",
    "watch:test": "nyc ava --watch",
    "cov": "run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html",
    "cov:html": "nyc report --reporter=html",
    "cov:lcov": "nyc report --reporter=lcov",
    "cov:send": "run-s cov:lcov && codecov",
    "cov:check": "nyc report && nyc check-coverage --lines 100 --functions 100 --branches 90",
    "doc": "run-s doc:html && open-cli build/docs/index.html",
    "doc:html": "typedoc src/ --exclude **/*.spec.ts --out build/docs",
    "doc:json": "typedoc src/ --exclude **/*.spec.ts --json build/docs/typedoc.json",
    "doc:publish": "gh-pages -m \"[ci skip] Updates\" -d build/docs",
    "version": "standard-version",
    "reset-hard": "git clean -dfx && git reset --hard && npm i",
    "prepare-release": "run-s reset-hard test cov:check doc:html version doc:publish"
  },
  "engines": {
    "node": ">=14"
  },
  "devDependencies": {
    "@ava/typescript": "^4.0.0",
    "@commitlint/cli": "^13.1.0",
    "@commitlint/config-conventional": "^13.1.0",
    "@istanbuljs/nyc-config-typescript": "^1.0.1",
    "@nestjs/cli": "8.0.0",
    "@nestjs/common": "^9.0.5",
    "@nestjs/core": "^9.4.2",
    "@nestjs/platform-express": "^9.0.5",
    "@nestjs/platform-fastify": "^9.0.5",
    "@types/node": "18.11.17",
    "@typescript-eslint/eslint-plugin": "^4.0.1",
    "@typescript-eslint/parser": "^5.0.1",
    "agentkeepalive": "^4.1.4",
    "ava": "^3.15.0",
    "codecov": "^3.8.3",
    "cspell": "^4.1.0",
    "cz-conventional-changelog": "^3.3.0",
    "eslint": "^7.8.0",
    "eslint-config-prettier": "^6.11.0",
    "eslint-plugin-eslint-comments": "^3.2.0",
    "eslint-plugin-import": "^2.29.1",
    "eslint-plugin-prettier": "^4.2.1",
    "eslint-plugin-promise": "^6.1.1",
    "execa": "^7.1.1",
    "gh-pages": "^3.1.0",
    "got": "^11.8.2",
    "husky": "^7.0.1",
    "lint-staged": "^11.1.0",
    "npm-run-all": "^4.1.5",
    "nyc": "^15.1.0",
    "open-cli": "^7.2.0",
    "prettier": "2.3.2",
    "reflect-metadata": "^0.1.12",
    "rxjs": "7.1.0",
    "sinon": "^11.1.2",
    "standard-version": "^9.0.0",
    "ts-node": "^9.0.0",
    "typedoc": "^0.24.7",
    "typescript": "4.7.4"
  },
  "peerDependencies": {
    "@nestjs/common": "*"
  },
  "dependencies": {
    "@clickhouse/client": "1.8.1",
    "@opentelemetry/api": "^1.9.0",
    "@opentelemetry/api-logs": "^0.52.1",
    "@opentelemetry/auto-instrumentations-node": "^0.48.0",
    "@opentelemetry/exporter-logs-otlp-grpc": "^0.52.1",
    "@opentelemetry/exporter-logs-otlp-http": "^0.52.1",
    "@opentelemetry/exporter-trace-otlp-grpc": "^0.52.1",
    "@opentelemetry/exporter-trace-otlp-http": "^0.52.1",
    "@opentelemetry/otlp-exporter-base": "^0.52.1",
    "@opentelemetry/resources": "^1.25.1",
    "@opentelemetry/sdk-node": "^0.52.1",
    "@opentelemetry/semantic-conventions": "^1.25.1",
    "json-diff": "1.0.6",
    "request-ip": "^3.3.0"
  },
  "files": [
    "build/main",
    "!**/*.spec.*",
    "!**/*.json",
    "CHANGELOG.md",
    "LICENSE",
    "README.md"
  ],
  "ava": {
    "extensions": [
      "ts"
    ],
    "files": [
      "test/**/*.spec.ts"
    ],
    "require": [
      "ts-node/register/transpile-only"
    ]
  },
  "config": {
    "commitizen": {
      "path": "cz-conventional-changelog"
    }
  },
  "prettier": {
    "singleQuote": true
  },
  "nyc": {
    "extends": "@istanbuljs/nyc-config-typescript",
    "exclude": [
      "**/*.spec.js"
    ]
  },
  "keywords": [
    "nestjs",
    "nest.js",
    "nest",
    "audit log",
    "audit-log",
    "audit",
    "opentelemetry",
    "signoz",
    "application",
    "server",
    "node.js",
    "nodejs",
    "node",
    "http",
    "https",
    "docker",
    "kubernetes",
    "prometheus"
  ],
  "lint-staged": {
    "*.{js,jsx,ts,tsx}": [
      "yarn lint",
      "prettier --ignore-path .eslintignore --write",
      "git add --force"
    ],
    "{*.json,.{babelrc,eslintrc,prettierrc,stylelintrc}}": [
      "prettier --ignore-path .eslintignore --parser json --write",
      "git add --force"
    ]
  },
  "commitlint": {
    "extends": [
      "@commitlint/config-conventional"
    ]
  },
  "husky": {
    "hooks": {
      "pre-commit": "npm run precommit"
    }
  }
}
