{
  "name": "flatsql",
  "version": "1.0.0",
  "description": "SQL queries over raw FlatBuffer storage - zero conversion, real-time indexing, pure streaming",
  "type": "module",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    },
    "./wasm": {
      "types": "./wasm/index.d.ts",
      "import": "./wasm/index.js"
    },
    "./wasi": {
      "types": "./wasm/wasi.d.ts",
      "import": "./wasm/wasi.js"
    },
    "./standalone": {
      "types": "./wasm/standalone.d.ts",
      "import": "./wasm/standalone.js"
    },
    "./artifacts/standalone": {
      "types": "./dist/artifacts/standalone-builder.d.ts",
      "import": "./dist/artifacts/standalone-builder.js"
    },
    "./response": {
      "types": "./dist/response/index.d.ts",
      "import": "./dist/response/index.js"
    },
    "./standalone/wasmedge": {
      "types": "./dist/standalone/index.d.ts",
      "import": "./dist/standalone/index.js"
    },
    "./wasi.wasm": "./wasm/flatsql-wasi.wasm",
    "./sdm": {
      "types": "./sdm/index.d.ts",
      "import": "./sdm/index.js"
    },
    "./sdm.wasm": "./sdm/flatsql-spatial.wasm"
  },
  "files": [
    "dist",
    "wasm/*.js",
    "wasm/*.wasm",
    "wasm/*.json",
    "wasm/*.d.ts",
    "wasm/native/*.cpp",
    "sdm/*.js",
    "sdm/*.wasm",
    "sdm/*.d.ts",
    "sdm/*.json",
    "scripts/stress-docker.sh",
    "stress/docker/*",
    "stress/sds/*.mjs",
    "docs/response-artifacts.md",
    "docs/agents/*.md",
    "README.md",
    "LICENSE"
  ],
  "scripts": {
    "build": "tsc",
    "build:wasm": "bash scripts/build-wasm.sh",
    "test": "node --experimental-wasm-exnref --experimental-vm-modules node_modules/jest/bin/jest.js",
    "test:wasm": "node wasm/test-bulk-ingest.mjs",
    "dev": "tsc --watch",
    "serve": "vite docs --port 8081",
    "bench": "node bench/flatsql-perf.mjs",
    "bench:perf": "node bench/flatsql-perf.mjs",
    "bench:perf:profile": "node bench/flatsql-perf.mjs --profile",
    "prepublishOnly": "npm run build && npm run test:wasi && npm run test:wasmedge && npm test -- --runInBand --runTestsByPath test/package-exports.test.ts",
    "emsdk:install": "bash scripts/install-emsdk.sh",
    "emsdk:env": "echo 'Run: source packages/emsdk/emsdk_env.sh'",
    "test:wasi": "node --experimental-wasm-exnref --experimental-vm-modules node_modules/jest/bin/jest.js --runTestsByPath test/wasi.test.ts test/standalone-wasm-imports.test.ts",
    "test:wasmedge": "node --experimental-wasm-exnref --experimental-vm-modules node_modules/jest/bin/jest.js --runTestsByPath test/wasmedge-standalone.test.ts test/wasmedge-runner.test.ts",
    "test:cluster": "bash scripts/cluster-validation.sh",
    "test:cluster:smoke": "bash scripts/cluster-validation.sh --duration=5 --stretch-duration=5 --readers=4 --stretch-readers=6",
    "stress:sds:smoke": "bash scripts/stress-docker.sh smoke",
    "stress:sds:docker-smoke": "bash scripts/stress-docker.sh docker-smoke",
    "stress:sds:docker-fleet": "bash scripts/stress-docker.sh docker-fleet",
    "stress:sds:full-config": "bash scripts/stress-docker.sh full-config",
    "stress:sds:full": "bash scripts/stress-docker.sh full"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/DigitalArsenal/flatsql.git"
  },
  "homepage": "https://digitalarsenal.github.io/flatsql/",
  "bugs": {
    "url": "https://github.com/DigitalArsenal/flatsql/issues"
  },
  "keywords": [
    "flatbuffers",
    "sqlite",
    "sql",
    "database",
    "streaming",
    "binary",
    "zero-copy",
    "wasm",
    "webassembly",
    "query",
    "virtual-table",
    "spatial",
    "geospatial",
    "voronoi",
    "delaunay",
    "rtree",
    "space-data-module"
  ],
  "author": "Digital Arsenal <tj@digitalarsenal.io>",
  "license": "Apache-2.0",
  "dependencies": {
    "flatbuffers": "^25.9.23",
    "flatc-wasm": "^26.1.32",
    "sql.js": "^1.10.0"
  },
  "devDependencies": {
    "@types/jest": "^29.5.0",
    "@types/node": "^20.0.0",
    "jest": "^29.7.0",
    "ts-jest": "^29.1.0",
    "typescript": "^5.3.0",
    "vite": "^5.0.0"
  },
  "engines": {
    "node": ">=24.0.0"
  },
  "publishConfig": {
    "access": "public"
  }
}
