Files
PMTiles/js/package.json
Brandon Liu 51c8ed1804 1.0.3
2022-03-08 16:30:09 +08:00

33 lines
1.1 KiB
JSON

{
"name": "pmtiles",
"version": "1.0.3",
"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 --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-tsc": "tsc --declaration --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",
"tsc": "tsc --noEmit --watch",
"prettier": "prettier --write *.ts"
},
"homepage": "https://github.com/protomaps/pmtiles",
"author": "Brandon Liu",
"license": "BSD-3-Clause",
"devDependencies": {
"esbuild": "^0.11.14",
"esbuild-runner": "^2.2.1",
"typescript": "^4.5.5",
"zora": "^5.0.2"
}
}