{
  "name": "gedcom-ts",
  "version": "2026.6.4",
  "description": "TypeScript GEDCOM toolkit for browser apps: import .ged/.zip, edit typed genealogy data, and export GEDCOM or GEDZIP.",
  "author": "Bertrand Jaunet <bertrand.jaunet@gmail.com>",
  "license": "SEE LICENSE IN LICENSE",
  "files": [
    "dist/*",
    "LICENSE",
    "CHANGELOG.md"
  ],
  "main": "dist/index.cjs",
  "type": "module",
  "module": "dist/index.mjs",
  "types": "dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "require": "./dist/index.cjs",
      "import": "./dist/index.mjs"
    },
    "./booklet": {
      "types": "./dist/booklet/index.d.ts",
      "require": "./dist/booklet.cjs",
      "import": "./dist/booklet.mjs"
    },
    "./booklet/locale-chunks/booklet-locale-en": {
      "types": "./dist/booklet/locale-chunks/booklet-locale-en.d.ts",
      "import": "./dist/locale-chunks/booklet-locale-en.mjs",
      "require": "./dist/locale-chunks/booklet-locale-en.cjs"
    },
    "./booklet/locale-chunks/booklet-locale-fr": {
      "types": "./dist/booklet/locale-chunks/booklet-locale-fr.d.ts",
      "import": "./dist/locale-chunks/booklet-locale-fr.mjs",
      "require": "./dist/locale-chunks/booklet-locale-fr.cjs"
    },
    "./booklet/locale-chunks/booklet-locale-de": {
      "types": "./dist/booklet/locale-chunks/booklet-locale-de.d.ts",
      "import": "./dist/locale-chunks/booklet-locale-de.mjs",
      "require": "./dist/locale-chunks/booklet-locale-de.cjs"
    },
    "./booklet/locale-chunks/booklet-locale-nl": {
      "types": "./dist/booklet/locale-chunks/booklet-locale-nl.d.ts",
      "import": "./dist/locale-chunks/booklet-locale-nl.mjs",
      "require": "./dist/locale-chunks/booklet-locale-nl.cjs"
    },
    "./booklet/locale-chunks/booklet-locale-es": {
      "types": "./dist/booklet/locale-chunks/booklet-locale-es.d.ts",
      "import": "./dist/locale-chunks/booklet-locale-es.mjs",
      "require": "./dist/locale-chunks/booklet-locale-es.cjs"
    },
    "./booklet/locale-chunks/booklet-locale-zh": {
      "types": "./dist/booklet/locale-chunks/booklet-locale-zh.d.ts",
      "import": "./dist/locale-chunks/booklet-locale-zh.mjs",
      "require": "./dist/locale-chunks/booklet-locale-zh.cjs"
    },
    "./booklet/locale-chunks/booklet-locale-it": {
      "types": "./dist/booklet/locale-chunks/booklet-locale-it.d.ts",
      "import": "./dist/locale-chunks/booklet-locale-it.mjs",
      "require": "./dist/locale-chunks/booklet-locale-it.cjs"
    },
    "./booklet/locale-chunks/booklet-locale-pt": {
      "types": "./dist/booklet/locale-chunks/booklet-locale-pt.d.ts",
      "import": "./dist/locale-chunks/booklet-locale-pt.mjs",
      "require": "./dist/locale-chunks/booklet-locale-pt.cjs"
    },
    "./booklet/locale-chunks/booklet-locale-pl": {
      "types": "./dist/booklet/locale-chunks/booklet-locale-pl.d.ts",
      "import": "./dist/locale-chunks/booklet-locale-pl.mjs",
      "require": "./dist/locale-chunks/booklet-locale-pl.cjs"
    },
    "./booklet/locale-chunks/booklet-locale-ar": {
      "types": "./dist/booklet/locale-chunks/booklet-locale-ar.d.ts",
      "import": "./dist/locale-chunks/booklet-locale-ar.mjs",
      "require": "./dist/locale-chunks/booklet-locale-ar.cjs"
    },
    "./booklet/locale-chunks/booklet-locale-he": {
      "types": "./dist/booklet/locale-chunks/booklet-locale-he.d.ts",
      "import": "./dist/locale-chunks/booklet-locale-he.mjs",
      "require": "./dist/locale-chunks/booklet-locale-he.cjs"
    },
    "./booklet/font-chunks/booklet-pdf-font-bytes-ar": {
      "types": "./dist/booklet/font-chunks/booklet-pdf-font-bytes-ar.d.ts",
      "import": "./dist/font-chunks/booklet-pdf-font-bytes-ar.mjs",
      "require": "./dist/font-chunks/booklet-pdf-font-bytes-ar.cjs"
    },
    "./booklet/font-chunks/booklet-pdf-font-bytes-he": {
      "types": "./dist/booklet/font-chunks/booklet-pdf-font-bytes-he.d.ts",
      "import": "./dist/font-chunks/booklet-pdf-font-bytes-he.mjs",
      "require": "./dist/font-chunks/booklet-pdf-font-bytes-he.cjs"
    },
    "./booklet/font-chunks/booklet-pdf-font-bytes-zh": {
      "types": "./dist/booklet/font-chunks/booklet-pdf-font-bytes-zh.d.ts",
      "import": "./dist/font-chunks/booklet-pdf-font-bytes-zh.mjs",
      "require": "./dist/font-chunks/booklet-pdf-font-bytes-zh.cjs"
    },
    "./booklet/font-chunks/booklet-pdf-font-bytes-zh-ext": {
      "types": "./dist/booklet/font-chunks/booklet-pdf-font-bytes-zh-ext.d.ts",
      "import": "./dist/font-chunks/booklet-pdf-font-bytes-zh-ext.mjs",
      "require": "./dist/font-chunks/booklet-pdf-font-bytes-zh-ext.cjs"
    },
    "./booklet/feature-chunks/booklet-logo-draw": {
      "types": "./dist/booklet/feature-chunks/booklet-logo-draw.d.ts",
      "import": "./dist/feature-chunks/booklet-logo-draw.mjs",
      "require": "./dist/feature-chunks/booklet-logo-draw.cjs"
    },
    "./booklet/feature-chunks/booklet-timeline-raster": {
      "types": "./dist/booklet/feature-chunks/booklet-timeline-raster.d.ts",
      "import": "./dist/feature-chunks/booklet-timeline-raster.mjs",
      "require": "./dist/feature-chunks/booklet-timeline-raster.cjs"
    }
  },
  "scripts": {
    "clean": "rm -rf dist",
    "prepare:fonts": "node scripts/extract-zh-pdf-hanzi-supplement.mjs && node scripts/prepare-booklet-fonts.mjs",
    "prepare:locales": "node scripts/prepare-booklet-locales.mjs",
    "typecheck": "tsc --noEmit",
    "build:js": "node build.js",
    "sync:exports": "node scripts/sync-booklet-chunk-exports.mjs",
    "build:types": "tsc --emitDeclarationOnly",
    "build": "npm run prepare:fonts && npm run prepare:locales && npm run clean && npm run build:js && npm run build:types",
    "test": "vitest run",
    "test:ci": "npm run build && vitest run",
    "test:watch": "vitest",
    "tgz": "npm run build && npm pack --pack-destination .",
    "pack": "npm run tgz",
    "prepublishOnly": "npm run typecheck && npm run test:ci",
    "lint": "eslint .",
    "lint:fix": "eslint . --fix"
  },
  "dependencies": {
    "@pdf-lib/fontkit": "^1.1.1",
    "bidi-js": "^1.0.3",
    "fflate": "^0.8.2",
    "naqqash": "^0.2.0",
    "pdf-lib": "^1.17.1"
  },
  "peerDependencies": {
    "pdf-lib": "^1.17.1"
  },
  "peerDependenciesMeta": {
    "pdf-lib": {
      "optional": false
    }
  },
  "devDependencies": {
    "@eslint/js": "^10.0.1",
    "@types/node": "^20.3.1",
    "esbuild": "^0.28.0",
    "eslint": "^10.3.0",
    "globals": "^17.6.0",
    "javascript-obfuscator": "^5.4.2",
    "jsdom": "^29.1.1",
    "subset-font": "^2.5.0",
    "typescript": "^5.1.3",
    "typescript-eslint": "^8.59.1",
    "vitest": "^4.1.5"
  },
  "keywords": [
    "genealogy",
    "gedcom",
    "family-tree",
    "ancestry",
    "genealogie",
    "ged",
    "zip",
    "import",
    "export",
    "tree",
    "typescript",
    "browser",
    "frontend"
  ]
}
