{
  "dependencies": {
    "@tsconfig/node16": "^16.1.3",
    "commander": "^12.1.0",
    "marked": "^17.0.1",
    "yaml": "^2.5.1",
    "zod": "^3.25.76"
  },
  "devDependencies": {
    "@types/jest": "^29.5.12",
    "@types/node": "^22.4.0",
    "esbuild": "^0.28.2",
    "http-server": "^14.1.1",
    "jest": "^29.7.0",
    "markdown-toc": "^1.2.0",
    "prettier": "^3.3.3",
    "ts-jest": "^29.2.4",
    "ts-node": "^10.9.2",
    "typedoc": "^0.26.6",
    "typescript": "^5.5.4"
  },
  "name": "markdown-patch",
  "version": "2.1.0",
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "default": "./dist/index.js"
    },
    "./package.json": "./package.json"
  },
  "engines": {
    "node": ">=20"
  },
  "scripts": {
    "build": "tsc",
    "build:site": "esbuild site/playground.main.ts --bundle --format=esm --minify --platform=browser --alias:crypto=./site/crypto-shim.ts --outfile=site/playground.bundle.js",
    "prepack": "rm -rf dist && npm run build",
    "test": "NODE_OPTIONS=--experimental-vm-modules jest",
    "docs": "typedoc",
    "docs-serve": "http-server docs",
    "toc": "markdown-toc -i README.md"
  },
  "bin": {
    "mdpatch": "./dist/cli.js"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/coddingtonbear/markdown-patch.git"
  },
  "bugs": {
    "url": "https://github.com/coddingtonbear/markdown-patch/issues"
  },
  "homepage": "https://coddingtonbear.github.io/markdown-patch/",
  "keywords": [
    "markdown",
    "patch",
    "frontmatter",
    "heading",
    "block-reference",
    "obsidian",
    "cli"
  ],
  "author": "Adam Coddington <me@adamcoddington.net>",
  "license": "MIT",
  "description": "Change markdown documents by inserting or changing content relative to headings or other parts of a document's structure.",
  "files": [
    "dist/",
    "README.md"
  ],
  "jest": {
    "preset": "ts-jest/presets/default-esm",
    "testEnvironment": "node",
    "testPathIgnorePatterns": [
      "/node_modules/",
      "/dist/"
    ],
    "transform": {
      "^.+\\.ts$": [
        "ts-jest",
        {
          "useESM": true,
          "tsconfig": "tsconfig.jest.json"
        }
      ]
    },
    "extensionsToTreatAsEsm": [
      ".ts"
    ],
    "transformIgnorePatterns": [
      "/node_modules/(?!(marked)/)"
    ],
    "moduleNameMapper": {
      "^(\\.{1,2}/.*)\\.js$": "$1"
    }
  }
}
