mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 10:51:07 +00:00
40 lines
1.2 KiB
JSON
40 lines
1.2 KiB
JSON
{
|
|
"name": "pmtiles",
|
|
"version": "3.0.0",
|
|
"description": "PMTiles archive decoder for browsers",
|
|
"type": "module",
|
|
"exports": "./dist/index.mjs",
|
|
"types": "./dist/index.d.ts",
|
|
"source": "index.ts",
|
|
"files": [
|
|
"dist",
|
|
"index.ts"
|
|
],
|
|
"scripts": {
|
|
"build-iife": "esbuild index.ts --outfile=dist/index.js --target=es6 --global-name=pmtiles --bundle --format=iife",
|
|
"build-esm": "esbuild index.ts --outfile=dist/index.mjs --target=es6 --global-name=pmtiles --bundle --format=esm",
|
|
"build-tsc": "tsc --declaration --emitDeclarationOnly --outdir dist",
|
|
"build": "npm run build-iife && npm run build-esm && 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"
|
|
}
|
|
}
|