{
  "name": "doc-detective",
  "version": "4.38.1",
  "description": "Treat doc content as testable assertions to validate doc accuracy and product UX.",
  "bin": {
    "doc-detective": "bin/doc-detective.js",
    "doc-detective-runner": "bin/runner-entrypoint.js",
    "doc-detective-lsp": "bin/doc-detective-lsp.js"
  },
  "type": "module",
  "engines": {
    "node": ">=22.12.0"
  },
  "files": [
    "dist/",
    "bin/",
    "scripts/postinstall.js"
  ],
  "main": "dist/index.cjs",
  "types": "dist/index.d.ts",
  "exports": {
    ".": {
      "import": {
        "types": "./dist/index.d.ts",
        "default": "./dist/index.js"
      },
      "require": {
        "types": "./dist/index.d.cts",
        "default": "./dist/index.cjs"
      }
    },
    "./cli": "./bin/doc-detective.js"
  },
  "scripts": {
    "postinstall": "node --disable-warning=DEP0190 scripts/postinstall.js",
    "prepare": "husky",
    "commitlint": "commitlint --edit",
    "semantic-release": "semantic-release",
    "build:common": "cd src/common && npm run build",
    "docs:build-schema-refs": "node docs/.scripts/buildSchemaReferencesV4.js",
    "docs:build-cli-ref": "node docs/.scripts/buildCliReference.js",
    "compile": "tsc && node scripts/createCjsWrapper.js",
    "watch": "nodemon --watch src --ext ts --exec \"npm run compile\"",
    "copy:schemas": "node -e \"const fs=require('fs');const p=require('path');const s=p.join('src','common','src','schemas','schemas.json');const d=p.join('dist','common','src','schemas','schemas.json');fs.mkdirSync(p.dirname(d),{recursive:true});fs.copyFileSync(s,d);\"",
    "build": "npm run build:common && npm run compile && npm run copy:schemas",
    "mocha": "mocha",
    "test": "mocha --exit test/*.test.js && npm run test:common",
    "test:common": "cd src/common && npm test",
    "test:coverage": "c8 mocha --exit test/*.test.js",
    "test:coverage:ratchet": "node scripts/check-coverage-ratchet.cjs",
    "runTests": "node ./bin/doc-detective.js runTests",
    "installAgents": "node ./bin/doc-detective.js install-agents",
    "start": "node ./bin/doc-detective.js",
    "dev": "node ./dev",
    "container:build": "node src/container/scripts/build.cjs",
    "container:rebuild": "node src/container/scripts/build.cjs --no-cache",
    "container:build:base": "node src/container/scripts/build.cjs --target=base",
    "container:build:base:push": "node src/container/scripts/build.cjs --target=base --push",
    "container:test": "mocha src/container/test/*.test.cjs --timeout 0"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/doc-detective/doc-detective.git"
  },
  "keywords": [
    "documentation",
    "unit",
    "test",
    "doc",
    "docs"
  ],
  "author": "Manny Silva",
  "license": "AGPL-3.0-only",
  "bugs": {
    "url": "https://github.com/doc-detective/doc-detective/issues"
  },
  "homepage": "https://github.com/doc-detective/doc-detective#readme",
  "dependencies": {
    "@apidevtools/json-schema-ref-parser": "^15.5.1",
    "@inquirer/prompts": "^8.5.2",
    "adm-zip": "^0.6.0",
    "ajv": "^8.20.0",
    "ajv-errors": "^3.0.0",
    "ajv-formats": "^3.0.1",
    "ajv-keywords": "^5.1.0",
    "axios": "^1.19.0",
    "dotenv": "^17.4.2",
    "fast-xml-parser": "^5.10.1",
    "jq-web": "^0.6.2",
    "json-schema-faker": "^0.6.3",
    "jsonc-parser": "^3.3.1",
    "posthog-node": "^5.48.1",
    "tree-kill": "^1.2.2",
    "vscode-languageserver": "^10.1.0",
    "vscode-languageserver-textdocument": "^1.0.13",
    "yaml": "^2.9.0",
    "yargs": "^18.1.0"
  },
  "ddRuntimeDependencies": {
    "@homebridge/node-pty-prebuilt-multiarch": "^0.14.1",
    "appium-mac2-driver": "^4.2.0",
    "appium-novawindows-driver": "^1.4.4",
    "appium-uiautomator2-driver": "^8.2.2",
    "appium-xcuitest-driver": "^12.3.1",
    "@ffmpeg-installer/ffmpeg": "^1.1.0",
    "@puppeteer/browsers": "^3.1.0",
    "appium": "^3.6.0",
    "appium-chromium-driver": "^3.0.8",
    "appium-geckodriver": "^3.0.15",
    "appium-safari-driver": "^5.0.7",
    "geckodriver": "^6.1.1",
    "pixelmatch": "^7.2.0",
    "pngjs": "^7.0.0",
    "proxy-agent": "^8.0.2",
    "sharp": "^0.35.3",
    "webdriverio": "^9.30.1"
  },
  "devDependencies": {
    "@commitlint/cli": "^21.2.1",
    "@commitlint/config-conventional": "^21.2.0",
    "@semantic-release/changelog": "^7.0.0",
    "@semantic-release/commit-analyzer": "^13.0.1",
    "@semantic-release/exec": "^7.1.0",
    "@semantic-release/git": "^11.0.1",
    "@semantic-release/github": "^12.0.9",
    "@semantic-release/npm": "^13.1.5",
    "@semantic-release/release-notes-generator": "^14.1.1",
    "@types/adm-zip": "^0.5.8",
    "@types/node": "^26.2.0",
    "@types/yargs": "^17.0.35",
    "body-parser": "^2.3.0",
    "c8": "^12.0.0",
    "chai": "^6.2.2",
    "depcheck": "^1.4.7",
    "esbuild": "^0.28.2",
    "express": "^5.2.1",
    "husky": "^9.1.7",
    "json-schema-to-typescript": "^15.0.4",
    "mocha": "^11.8.0",
    "nodemon": "^3.1.14",
    "semantic-release": "^25.0.9",
    "semver": "^7.8.5",
    "sinon": "^22.1.0",
    "typescript": "^7.0.2",
    "typescript-compiler-api": "npm:typescript@6.0.3"
  }
}
