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",
|
||||
"description": "PMTiles archive decoder for browsers",
|
||||
"type": "module",
|
||||
"exports": {
|
||||
"import": "./dist/index.mjs",
|
||||
"require": "./dist/index.cjs"
|
||||
},
|
||||
"types": "dist/index.d.ts",
|
||||
"exports": "./dist/index.mjs",
|
||||
"types": "./dist/index.d.ts",
|
||||
"source": "index.ts",
|
||||
"files": [
|
||||
"dist",
|
||||
@@ -16,9 +13,8 @@
|
||||
"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",
|
||||
"build": "npm run build-iife && npm run build-esm && npm run build-tsc",
|
||||
"test": "tsx test/index.test.ts",
|
||||
"tsc": "tsc --noEmit --watch",
|
||||
"prettier": "prettier --write *.ts test/*.ts",
|
||||
|
||||
Reference in New Issue
Block a user