Files
PMTiles/js/package.json
Brandon Liu 6638d040a5 linting and typing improvements [#287] (#337)
* Typing improvements [#287]

* rename FileApiSource to FileSource
* In a few cases we need to use any and biome-ignore. Deferring any restructuring here to js v4.
* replace prettier with biome
2024-01-31 12:22:25 +08:00

38 lines
1.2 KiB
JSON

{
"name": "pmtiles",
"version": "3.0.0-alpha.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",
"tsx": "^4.7.0",
"typescript": "^4.5.5"
},
"dependencies": {
"@types/leaflet": "^1.9.8",
"fflate": "^0.8.0"
}
}