mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 10:51:07 +00:00
@@ -3,11 +3,8 @@
|
|||||||
"version": "3.0.0-alpha.0",
|
"version": "3.0.0-alpha.0",
|
||||||
"description": "PMTiles archive decoder for browsers",
|
"description": "PMTiles archive decoder for browsers",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"exports": {
|
"exports": "./dist/index.mjs",
|
||||||
"import": "./dist/index.mjs",
|
"types": "./dist/index.d.ts",
|
||||||
"require": "./dist/index.cjs"
|
|
||||||
},
|
|
||||||
"types": "dist/index.d.ts",
|
|
||||||
"source": "index.ts",
|
"source": "index.ts",
|
||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"dist",
|
||||||
@@ -16,9 +13,8 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build-iife": "esbuild index.ts --outfile=dist/index.js --target=es6 --global-name=pmtiles --bundle --format=iife",
|
"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-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-tsc": "tsc --declaration --emitDeclarationOnly --outdir dist",
|
||||||
"build": "npm run build-iife && npm run build-esm && npm run build-cjs && npm run build-tsc",
|
"build": "npm run build-iife && npm run build-esm && npm run build-tsc",
|
||||||
"test": "tsx test/index.test.ts",
|
"test": "tsx test/index.test.ts",
|
||||||
"tsc": "tsc --noEmit --watch",
|
"tsc": "tsc --noEmit --watch",
|
||||||
"prettier": "prettier --write *.ts test/*.ts",
|
"prettier": "prettier --write *.ts test/*.ts",
|
||||||
|
|||||||
Reference in New Issue
Block a user