{
  "name": "@protovoters/osmx",
  "version": "0.11.6",
  "description": "Portable WebAssembly library for reading, creating, extracting, updating, and querying OSMX databases",
  "license": "AGPL-3.0-or-later",
  "repository": {
    "type": "git",
    "url": "https://codeberg.org/protovoters/protovoters"
  },
  "files": [
    "dist",
    "wasm/osmx-engine.wasm",
    "THIRD_PARTY_NOTICES.md"
  ],
  "type": "module",
  "main": "./dist/index.mjs",
  "types": "./dist/index.d.mts",
  "exports": {
    ".": {
      "types": "./dist/index.d.mts",
      "import": "./dist/index.mjs"
    },
    "./package.json": "./package.json"
  },
  "publishConfig": {
    "access": "public"
  },
  "scripts": {
    "submodule": "bash -c 'if [ -d ../../.git ]; then git submodule update --init --recursive OSMExpress; fi'",
    "build-osmx": "bash scripts/build-wasix.sh",
    "verify:wasix-sources": "OSMX_WASIX_WORK=$(mktemp -d)/osmx scripts/prepare-wasix-sources.sh",
    "build:capnp": "node scripts/build-capnp.mjs",
    "build": "tsdown",
    "clean": "rm -rf dist && rm -f wasm/osmx-engine.wasm",
    "turbo": "yarn exec turbo",
    "prebuild": "node -e \"\"",
    "test": "test -f wasm/osmx-engine.wasm || yarn build-osmx; yarn build && node --test test/*.test.mjs",
    "publish": "yarn npm publish --access public",
    "dev": "tsdown --watch",
    "typecheck": "tsc --noEmit",
    "prepack": "test -f wasm/osmx-engine.wasm || yarn build-osmx; test \"$(shasum -a 256 wasm/osmx-engine.wasm | cut -d' ' -f1)\" = \"$(node -p \"require('./wasix-sources.lock.json').outputs.osmxEngineSha256\")\" && yarn build",
    "verify:wasix-repro": "bash scripts/verify-wasix-repro.sh"
  },
  "engines": {
    "node": ">=16.0.0"
  },
  "dependencies": {
    "capnp-ts": "^0.9.3"
  },
  "devDependencies": {
    "@types/node": "^25.0.3",
    "capnpc-ts": "^0.9.3",
    "tsdown": "^0.21.7",
    "typescript": "^6.0.2"
  },
  "module": "./dist/index.mjs"
}