{
  "name": "@dadi/api-mongodb",
  "version": "6.0.2",
  "description": "A MongoDB adapter for DADI API",
  "keywords": [
    "dadi",
    "api",
    "connector",
    "mongo",
    "MongoDB",
    "dadi-connector",
    "dadi-api-connector",
    "api-connector"
  ],
  "main": "index.js",
  "scripts": {
    "lint": "eslint . && prettier --check **/*.js",
    "test": "npm run test:fetch-data && npm run test:run",
    "test:fetch-data": "npm explore @dadi/test-tools -- npm run download-api-snapshot -- \"$PWD/test\"",
    "test:run": "npx nyc --reporter=lcov npx mocha -r env-test -r pretest.js --bail --exit test/**/*.js && npx nyc report"
  },
  "author": "James Lambie <jameslambie@gmail.com>",
  "license": "ISC",
  "dependencies": {
    "@dadi/metadata": "^2.0.1",
    "@eslint/js": "^9.7.0",
    "convict": "^4.4.1",
    "debug": "^4.3.5",
    "eslint-plugin-mocha": "^10.4.3",
    "mongodb": "^6.8.0"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/dadi/api-mongodb.git"
  },
  "devDependencies": {
    "@dadi/eslint-config": "latest",
    "@dadi/prettier-config": "latest",
    "@dadi/test-tools": "latest",
    "colors": "^1.2.1",
    "coveralls": "^3.1.1",
    "env-test": "1.0.0",
    "eslint": "^9.7.0",
    "husky": "^2.4.1",
    "lint-staged": "^15.2.7",
    "mocha": "^10.6.0",
    "nyc": "^17.0.0",
    "prettier": "^3.3.2",
    "should": "^13.2.3",
    "sinon": "4.4.3"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "*.{js,jsx,md,html}": [
      "prettier --write",
      "git add"
    ]
  }
}
