{ "name": "pmtiles", "version": "3.2.0", "description": "PMTiles archive decoder for browsers", "type": "module", "exports": { "require":"./dist/index.cjs", "default":"./dist/index.js" }, "types": "./dist/index.d.ts", "source": "index.ts", "files": [ "dist", "adapters.ts", "index.ts", "v2.ts" ], "scripts": { "build-iife": "esbuild index.ts --outfile=dist/pmtiles.js --target=es6 --global-name=pmtiles --bundle --format=iife", "build-esm": "esbuild index.ts --outfile=dist/index.js --target=es6 --bundle --format=esm", "build-cjs": "esbuild index.ts --outfile=dist/index.cjs --target=es6 --bundle --format=cjs", "build-tsc": "tsc --declaration --emitDeclarationOnly --outdir dist", "build": "npm run build-iife && npm run build-esm && npm run build-cjs && npm run build-tsc", "test": "tsx test/index.test.ts", "tsc": "tsc --noEmit --watch", "biome": "biome check adapters.ts index.ts v2.ts test --apply", "biome-check": "biome check adapters.ts index.ts v2.ts test" }, "homepage": "https://github.com/protomaps/pmtiles", "author": "Brandon Liu", "license": "BSD-3-Clause", "devDependencies": { "@biomejs/biome": "^1.5.3", "@types/node": "^18.11.9", "esbuild": "^0.20.0", "msw": "^2.1.5", "tsx": "^4.7.0", "typedoc": "^0.25.7", "typescript": "^4.5.5" }, "dependencies": { "@types/leaflet": "^1.9.8", "fflate": "^0.8.0" } }