mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 02:41:09 +00:00
js decoder 1.1.0
adds fflate dependency; maplibre decoder can read gzipped tiles [#41]
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
{
|
||||
"name": "pmtiles",
|
||||
"version": "1.0.4",
|
||||
"version": "1.1.0",
|
||||
"description": "PMTiles archive decoder for browsers",
|
||||
"main": "dist/index.cjs",
|
||||
"module": "dist/index.mjs",
|
||||
"types":"dist/index.d.ts",
|
||||
"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 --format=iife",
|
||||
"build-esm": "esbuild index.ts --outfile=dist/index.mjs --target=es6 --global-name=pmtiles --format=esm",
|
||||
"build-cjs": "esbuild index.ts --outfile=dist/index.cjs --target=es6 --global-name=pmtiles --format=cjs",
|
||||
"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-cjs": "esbuild index.ts --outfile=dist/index.cjs --target=es6 --global-name=pmtiles --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": "node -r esbuild-runner/register index.test.ts",
|
||||
@@ -28,5 +28,8 @@
|
||||
"esbuild-runner": "^2.2.1",
|
||||
"typescript": "^4.5.5",
|
||||
"zora": "^5.0.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"fflate": "^0.7.3"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user