{
  "name": "document-schema",
  "version": "7.14.0",
  "description": "The canonical, format-agnostic content and document-tree schemas shared by ooxml.js, odf.js, documents.js, pdf-codec, and markdown-codec, plus the structural transform between them -- no format-specific or I/O behaviour.",
  "type": "module",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/ExaDev/documents.js.git",
    "directory": "packages/document-schema.js"
  },
  "homepage": "https://github.com/ExaDev/documents.js/tree/main/packages/document-schema.js",
  "bugs": {
    "url": "https://github.com/ExaDev/documents.js/issues"
  },
  "exports": {
    ".": {
      "types": {
        "import": "./dist/index.d.ts",
        "require": "./dist/index.d.cts"
      },
      "import": "./dist/index.js",
      "require": "./dist/index.cjs"
    },
    "./*": {
      "types": {
        "import": "./dist/*.d.ts",
        "require": "./dist/*.d.cts"
      },
      "import": "./dist/*.js",
      "require": "./dist/*.cjs"
    },
    "./schemas/*.schema.json": "./schemas/*.schema.json"
  },
  "main": "./dist/index.cjs",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "files": [
    "dist",
    "schemas"
  ],
  "publishConfig": {
    "access": "public",
    "provenance": true,
    "registry": "https://registry.npmjs.org/"
  },
  "sideEffects": false,
  "engines": {
    "node": ">=20"
  },
  "keywords": [
    "document",
    "content-model",
    "zod",
    "schema",
    "docx",
    "pptx",
    "xlsx",
    "odt",
    "odp",
    "ods"
  ],
  "license": "MIT",
  "dependencies": {
    "zod": "4.4.3"
  },
  "devDependencies": {
    "@arethetypeswrong/cli": "0.18.5",
    "@cloudflare/vitest-pool-workers": "0.21.2",
    "@stryker-mutator/core": "10.0.0",
    "@stryker-mutator/typescript-checker": "10.0.0",
    "@stryker-mutator/vitest-runner": "10.0.0",
    "@types/node": "26.2.0",
    "@vitest/coverage-v8": "4.1.11",
    "eslint": "10.8.1",
    "husky": "9.1.7",
    "jiti": "2.7.0",
    "publint": "0.3.22",
    "semantic-release": "25.0.9",
    "tsdown": "0.22.14",
    "turbo": "2.10.8",
    "typescript": "6.0.3",
    "vitest": "4.1.11"
  },
  "scripts": {
    "build": "turbo run _build",
    "_build": "tsdown && node scripts/generate-json-schemas.mjs",
    "lint": "turbo run _lint",
    "_lint": "eslint . --fix --cache --max-warnings 0",
    "typecheck": "turbo run _typecheck _typecheck:node _typecheck:attw",
    "_typecheck": "tsc -p tsconfig.json",
    "_typecheck:node": "tsc -p tsconfig.node.json",
    "_typecheck:attw": "attw --pack",
    "test": "turbo run _test",
    "_test": "vitest run --project unit",
    "test:workers": "turbo run _test:workers",
    "_test:workers": "vitest run --config vitest.workers.config.ts",
    "test:watch": "vitest --project unit",
    "test:coverage": "turbo run _test:coverage",
    "_test:coverage": "vitest run --project unit --coverage",
    "test:mutation": "turbo run _test:mutation",
    "_test:mutation": "stryker run stryker.config.ts",
    "test:smoke": "turbo run _test:smoke",
    "_test:smoke": "vitest run --project smoke",
    "release": "semantic-release"
  }
}