mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 10:51:07 +00:00
37 lines
1.3 KiB
JSON
37 lines
1.3 KiB
JSON
{
|
|
"name": "pmtiles",
|
|
"version": "2.7.0",
|
|
"description": "PMTiles archive decoder for browsers",
|
|
"main": "dist/index.cjs",
|
|
"module": "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-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 test/index.test.ts",
|
|
"tsc": "tsc --noEmit --watch",
|
|
"prettier": "prettier --write *.ts"
|
|
},
|
|
"homepage": "https://github.com/protomaps/pmtiles",
|
|
"author": "Brandon Liu",
|
|
"license": "BSD-3-Clause",
|
|
"devDependencies": {
|
|
"@types/node": "^18.11.9",
|
|
"esbuild": "^0.15.11",
|
|
"esbuild-runner": "^2.2.1",
|
|
"prettier": "^2.8.4",
|
|
"typescript": "^4.5.5"
|
|
},
|
|
"dependencies": {
|
|
"fflate": "^0.7.3"
|
|
}
|
|
}
|