{ "name": "s2-pmtiles", "version": "1.0.0", "description": "This library reads/writes PMTiles V3.0 as well as S2PMTiles V1.0", "keywords": [ "PMTiles", "map", "tile", "open", "S2", "spec" ], "type": "module", "types": "./dist/index.d.ts", "typescript": { "main": "lib/index.ts" }, "main": "dist/index.js", "exports": { ".": { "require": "./dist/index.js", "import": "./dist/index.js", "browser": "./dist/browser.js", "types": "./dist/index.d.ts" }, "./dist/*": "./dist/*", "./browser": { "require": "./dist/browser.js", "import": "./dist/browser.js", "types": "./dist/browser.d.ts" } }, "scripts": { "lint+build+test+docs": "bun run lint && bun run build && bun run test && bun run docs", "lint": "eslint src test", "lint:fix": "bun run lint -- --fix", "prettier": "bunx prettier src test tools benchmarks --check", "prettier:fix": "bunx prettier -- --write", "format": "bunx prettier:fix && bun run lint:fix", "build": "rm -rf dist && mkdir dist && rm -f -- tsconfig.tsbuildinfo && tsc && bun run build.ts", "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": "bun test", "test:coverage": "bun run test --coverage", "docs": "typedoc", "dependencies": "bunx depcruise src --include-only \"^src\" --output-type dot | dot -T svg > ./assets/dependency-graph.svg" }, "repository": { "type": "git", "url": "https://github.com/Open-S2/s2-pmtiles.git" }, "author": "Craig OConnor", "license": "MIT", "bugs": { "url": "https://github.com/Open-S2/s2-pmtiles/issues" }, "files": [ "dist", "s2-pmtiles-spec" ], "homepage": "https://github.com/Open-S2/s2-pmtiles#readme", "dependencies": { "fflate": "^0.8.2" }, "devDependencies": { "@skypack/package-check": "^0.2.2", "@types/bun": "^1.1.3", "@types/node": "^20.12.11", "@types/pbf": "^3.0.5", "@types/tmp": "^0.2.6", "coveralls": "^3.1.1", "eslint": "^9.3.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-jsdoc": "^48.2.4", "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-tsdoc": "^0.2.17", "prettier": "^3.2.5", "s2-tilejson": "^1.5.0", "tmp": "^0.2.3", "typedoc": "^0.25.13", "typedoc-plugin-coverage": "^3.1.1", "typescript": "^5.4.5", "typescript-eslint": "^7.8.0" } }