{
  "name": "nats-micro",
  "version": "0.29.2",
  "description": "NATS micro compatible extra-lightweight microservice library",
  "main": "lib/cjs/index.js",
  "module": "lib/esm/index.js",
  "scripts": {
    "compile:cjs": "cp src/__dirname.ts __dirname.bak && sed -i 's/dirname.fileURLToPath.import.meta.url../__dirname/' src/__dirname.ts && tsc --build ./tsconfig.cjs.json && ./generate_cjs_pjson.sh; mv __dirname.bak src/__dirname.ts",
    "compile:esm": "tsc --build ./tsconfig.esm.json && ./generate_esm_pjson.sh",
    "compile": "npm run compile:cjs && npm run compile:esm",
    "build:clean": "rm -rf lib/*",
    "build": "npm run build:clean && npm run compile",
    "prepublishOnly": "npm run test && npm run test:badge && npm run build",
    "lint": "eslint . --ext .ts,.tsx",
    "test": "c8 --reporter=html --reporter=lcovonly --reporter=json-summary --reporter=text-summary --include='src/**/*' --all ts-mocha",
    "test:badge": "npx coverage-badge-creator"
  },
  "type": "module",
  "keywords": [
    "nats",
    "queue",
    "micro",
    "microservice",
    "microservices",
    "pubsub",
    "autodiscovery",
    "typescript",
    "event-bus",
    "emit",
    "event"
  ],
  "exports": {
    ".": {
      "types": "./lib/types/index.d.ts",
      "require": "./lib/cjs/index.js",
      "import": "./lib/esm/index.js",
      "default": "./lib/cjs/index.js"
    }
  },
  "author": "Anton Zykov <npm@ormo.cc>",
  "license": "ISC",
  "homepage": "https://github.com/Aggtaa/nats-micro-js",
  "bugs": "https://github.com/Aggtaa/nats-micro-js/issues",
  "repository": "Aggtaa/nats-micro-js",
  "dependencies": {
    "debug-threads-ns": "^0.2.3",
    "moment": "^2.29.4",
    "nanoid": "^3.3.5",
    "nats": "^2.16.0",
    "zod": "^3.22.2",
    "zod-to-json-schema": "^3.21.4"
  },
  "devDependencies": {
    "@types/chai": "^4.2.11",
    "@types/chai-as-promised": "^7.1.2",
    "@types/chai-like": "^1.1.3",
    "@types/chai-subset": "^1.3.3",
    "@types/chai-things": "^0.0.38",
    "@types/mocha": "^10.0.1",
    "@types/node": "^13.13.52",
    "@types/sinon": "^9.0.4",
    "@types/sinon-chai": "^3.2.8",
    "@typescript-eslint/eslint-plugin": "^5.60.1",
    "@typescript-eslint/parser": "^5.60.1",
    "c8": "^8.0.1",
    "chai": "^4.2.0",
    "chai-as-promised": "^7.1.1",
    "chai-like": "^1.1.1",
    "chai-subset": "^1.6.0",
    "chai-things": "^0.2.0",
    "coverage-badge-creator": "^1.0.18",
    "eslint": "^8.34.0",
    "eslint-config-airbnb-base": "^15.0.0",
    "eslint-import-resolver-lerna": "^2.0.0",
    "eslint-import-resolver-typescript": "^2.4.0",
    "eslint-plugin-chai-friendly": "^0.6.0",
    "eslint-plugin-i18next": "^6.0.0-2",
    "eslint-plugin-import": "^2.27.5",
    "eslint-plugin-jest": "^23.8.0",
    "eslint-plugin-jsx-a11y": "^6.2.3",
    "eslint-plugin-mocha": "^10.1.0",
    "esmock": "^2.6.9",
    "knip": "^2.14.3",
    "lerna": "^6.6.2",
    "mocha": "^10.2.0",
    "mocha-each": "^2.0.1",
    "mocha-junit-reporter": "^2.0.2",
    "mocha-multi-reporters": "^1.5.1",
    "sinon": "^9.0.2",
    "sinon-chai": "^3.7.0",
    "ts-mocha": "^10.0.0",
    "ts-node": "^10.9.1",
    "typescript": "^4.9.5"
  },
  "mocha": {
    "extension": [
      ".ts",
      ".js"
    ],
    "spec": [
      "tests/**/*.test.ts"
    ],
    "recursive": true,
    "asyncOnly": true,
    "exit": true,
    "timeout": 10000,
    "fullTrace": true,
    "bail": true,
    "node-option": [
      "experimental-specifier-resolution=node",
      "loader=ts-node/esm",
      "loader=esmock"
    ]
  }
}
