{
  "name": "moleculer-context-db",
  "version": "2.0.3",
  "description": "A database tool for providing the database session as part of the context",
  "main": "./lib/index.js",
  "types": "./lib/index.d.ts",
  "files": [
    "lib"
  ],
  "scripts": {
    "clean": "rm -rf lib",
    "build": "tsc -p src/tsconfig.json",
    "lint": "eslint \"{src,{tests,mocks}}/**/*.{js,ts}\"",
    "format": "prettier --write \"{src,{tests,mocks}}/**/*.{js,ts}\"",
    "prepare": "npm run build",
    "prepublishOnly": "npm test && npm run lint",
    "preversion": "npm run lint",
    "test": "jest --coverage --runInBand --no-cache",
    "version": "npm run format && git add -A src",
    "postversion": "git push && git push --tags"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/ujwal-setlur/moleculer-context-db.git"
  },
  "keywords": [
    "moleculer",
    "microservices",
    "database",
    "session",
    "transaction"
  ],
  "author": "Ujwal Setlur",
  "license": "ISC",
  "bugs": {
    "url": "https://github.com/ujwal-setlur/moleculer-context-db/issues"
  },
  "homepage": "https://github.com/ujwal-setlur/moleculer-context-db#readme",
  "peerDependencies": {
    "@mikro-orm/core": "^6.0.2",
    "@mikro-orm/mongodb": "^6.0.2",
    "@mikro-orm/sqlite": "^6.0.2",
    "@mikro-orm/mysql": "^6.0.2",
    "@mikro-orm/postgresql": "^6.0.2",
    "moleculer": "^0.14.21"
  },
  "devDependencies": {
    "@moleculer/channels": "^0.1.8",
    "@types/jest": "^29.5.11",
    "@types/mongodb": "^4.0.6",
    "@types/node": "^20.11.5",
    "@types/uuid": "^9.0.7",
    "@typescript-eslint/eslint-plugin": "^6.19.0",
    "@typescript-eslint/parser": "^6.19.0",
    "eslint": "^8.56.0",
    "eslint-config-airbnb-base": "^15.0.0",
    "eslint-config-prettier": "^9.1.0",
    "eslint-plugin-import": "^2.29.1",
    "eslint-plugin-prettier": "^5.1.3",
    "jest": "^29.7.0",
    "moleculer": "^0.14.32",
    "moleculer-decorators": "^1.3.0",
    "mongodb-memory-server": "^9.1.6",
    "prettier": "^3.2.4",
    "reflect-metadata": "^0.2.1",
    "ts-jest": "^29.1.1",
    "ts-node": "^10.9.2",
    "typed-moleculer": "^4.1.2",
    "typescript": "^5.3.3",
    "uuid": "^9.0.1"
  },
  "config": {
    "mongodbMemoryServer": {
      "version": "4.4.1"
    }
  },
  "jest": {
    "testEnvironment": "node",
    "rootDir": ".",
    "coverageDirectory": "tests/coverage",
    "testTimeout": 30000,
    "roots": [
      "tests"
    ],
    "transform": {
      "^.+\\.tsx?$": [
        "ts-jest",
        {
          "tsconfig": "tsconfig.json"
        }
      ]
    },
    "testRegex": ".*\\.(test|spec).(ts|js)$",
    "setupFiles": [
      "./tests/setup.ts"
    ],
    "moduleFileExtensions": [
      "ts",
      "tsx",
      "js",
      "jsx",
      "json",
      "node"
    ]
  }
}
