{
  "name": "gis-tools-ts",
  "version": "0.7.2",
  "description": "A collection of geospatial tools primarily designed for WGS84, Web Mercator, and S2.",
  "type": "module",
  "keywords": [
    "Library",
    "Tools",
    "GIS",
    "WM",
    "Web Mercator",
    "WG",
    "WGS84",
    "S2",
    "S2 Geometry",
    "Rust",
    "Typescript",
    "Vector",
    "Cartography",
    "Geography",
    "Geospatial",
    "Maps",
    "Tiles",
    "JSON"
  ],
  "bin": {
    "gis-tools-ts": "./bin/index.ts"
  },
  "imports": {
    "#converters/*": "./src/converters/*",
    "#db/*": "./src/dataStore/*",
    "#dataStore/*": "./src/dataStore/*",
    "#geometry/*": "./src/geometry/*",
    "#proj4/*": "./src/proj4/*",
    "#readers/*": "./src/readers/*",
    "#space/*": "./src/space/*",
    "#tools/*": "./src/tools/*",
    "#util/*": "./src/util/*",
    "#writers/*": "./src/writers/*"
  },
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    },
    "./file": {
      "types": "./dist/file.d.ts",
      "import": "./dist/file.js"
    },
    "./mmap": {
      "types": "./dist/mmap.d.ts",
      "import": "./dist/mmap.js"
    },
    "./polyfills/local": {
      "types": "./dist/util/polyfills/local.d.ts",
      "import": "./dist/util/polyfills/local.js"
    },
    "./polyfills/dataview": {
      "types": "./dist/util/polyfills/dataview.d.ts",
      "import": "./dist/util/polyfills/dataview.js"
    },
    "./polyfills/decompression": {
      "types": "./dist/util/polyfills/decompression.d.ts",
      "import": "./dist/util/polyfills/decompression.js"
    }
  },
  "directories": {
    "lib": "dist"
  },
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "files": [
    "dist"
  ],
  "scripts": {
    "lint+build+test+docs": "bun run lint && bun run build && bun run test && bun run docs",
    "lint": "oxlint src tests",
    "lint:fix": "bun run lint -- --fix",
    "fmt": "bunx oxfmt src tests tools benchmarks --check",
    "fmt:fix": "bunx oxfmt -- --write",
    "format": "bunx oxfmt:fix && bun run lint:fix",
    "build:old": "bun run build:rust && bun run build:ts",
    "build": "bun run build:ts",
    "build:ts": "rm -rf dist && mkdir dist && rm -f -- tsconfig.tsbuildinfo && tsc",
    "build:rust": "bun build:rust:cargo && bun build:rust:optimize && bun build:rust:strip",
    "build:rust:cargo": "cargo build --target wasm32-unknown-unknown --release --workspace --package rust-uint64",
    "build:rust:optimize": "wasm-opt -Oz -o target/wasm32-unknown-unknown/release/optimized.wasm target/wasm32-unknown-unknown/release/uint64.wasm",
    "build:rust:strip": "wasm-strip target/wasm32-unknown-unknown/release/optimized.wasm",
    "build:zig": "bun build:zig:bin && bun build:zig:optimize && bun build:zig:strip",
    "build:zig:bin": "zig build",
    "build:zig:optimize": "wasm-opt -Oz -o zig-out/bin/optimized-uint64.wasm zig-out/bin/uint64.wasm",
    "build:zig:strip": "wasm-strip zig-out/bin/optimized-uint64.wasm",
    "build:badges": "bun run tools/buildBadges.ts",
    "build:epsg": "bun run tools/buildEPSG.ts",
    "rust:test:lint": "RUSTC_BOOTSTRAP=1 cargo +nightly clippy -- -D warnings",
    "rust:test:fmt": "RUSTC_BOOTSTRAP=1 cargo +nightly fmt",
    "rust:test:coverage": "RUSTC_BOOTSTRAP=1 cargo +nightly llvm-cov --lcov --output-path coverage/lcov.info --workspace --features nightly",
    "cleanCoverage": "rm -rf coverage && mkdir coverage",
    "types:bundle": "bun run types:build && node scripts/types.mjs",
    "prepublishOnly": "bun run lint+build+test+docs",
    "package-check": "package-check",
    "test:dev": "bun test --watch --coverage",
    "test": "FORCE_POLYFILL=true bun test",
    "test:fast": "FAST_TESTS_ONLY=true bun test",
    "test:coverage": "bun run test --coverage",
    "docs": "typedoc",
    "loc": "tokei ./src && tokei ./rust"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/Open-S2/gis-tools.git"
  },
  "author": "Craig OConnor",
  "license": "See LICENSE file.",
  "bugs": {
    "url": "https://github.com/Open-S2/gis-tools/issues"
  },
  "homepage": "https://github.com/Open-S2/gis-tools#readme",
  "devDependencies": {
    "@skypack/package-check": "^0.2.2",
    "@turf/turf": "^7.3.4",
    "@types/all-the-cities": "^3.1.3",
    "@types/bun": "^1.3.11",
    "@types/node": "^25.5.0",
    "@types/yargs": "^17.0.35",
    "@webgpu/types": "^0.1.69",
    "ajv": "^8.18.0",
    "ajv-formats": "^3.0.1",
    "all-the-cities": "^3.1.0",
    "badge-maker": "^5.0.2",
    "coveralls": "^3.1.1",
    "esbuild": "^0.27.5",
    "eslint-plugin-jsdoc": "^62.9.0",
    "eslint-plugin-tsdoc": "^0.5.2",
    "flatbush": "^4.5.1",
    "geotiff": "^3.0.5",
    "gtfs-realtime-bindings": "^1.1.1",
    "kdbush": "^4.0.2",
    "lmdb": "^3.5.3",
    "long": "^5.3.2",
    "oxfmt": "^0.43.0",
    "oxlint": "^1.58.0",
    "oxlint-tsgolint": "^0.19.0",
    "robust-orientation": "^1.2.1",
    "s2json-spec": "^1.11.1",
    "satellite.js": "^7.0.0",
    "typedoc": "^0.28.18",
    "typedoc-plugin-coverage": "^4.0.2",
    "typedoc-plugin-katex": "^0.1.2",
    "typescript": "^6.0.2",
    "yargs": "^18.0.0"
  },
  "dependencies": {
    "earclip": "^1.2.1",
    "open-vector-tile": "^1.12.0",
    "pbf-ts": "^1.2.0",
    "s2-tilejson": "^1.13.0",
    "sharp": "^0.34.5"
  }
}
