UNPKG

@mapbox/tilebelt

Version:
56 lines (55 loc) 1.53 kB
{ "name": "@mapbox/tilebelt", "version": "2.0.2", "description": "simple tile utilities", "type": "module", "files": [ "/dist" ], "exports": { ".": { "require": { "default": "./dist/cjs/index.js", "types": "./dist/cjs/index.d.ts" }, "import": { "default": "./dist/esm/index.js", "types": "./dist/esm/index.d.ts" } } }, "scripts": { "test": "vitest --config ./vitest.config.ts --coverage run", "bench": "tsx test/bench.ts", "format": "prettier src test --write --single-quote", "clean": "rm -rf ./dist", "prepublishOnly": "npm run build", "build-cjs": "tsc -p . --module commonjs --outDir ./dist/cjs && echo '{\"type\": \"commonjs\"}' > ./dist/cjs/package.json", "build-esm": "tsc -p . --module nodenext --outDir ./dist/esm && echo '{\"type\": \"module\"}' > ./dist/esm/package.json", "build": "npm run clean && npm run build-cjs && npm run build-esm" }, "repository": { "type": "git", "url": "https://github.com/mapbox/tilebelt.git" }, "keywords": [ "tile", "map", "geojson" ], "author": "morganherlocker", "license": "MIT", "bugs": { "url": "https://github.com/mapbox/tilebelt/issues" }, "homepage": "https://github.com/mapbox/tilebelt", "devDependencies": { "@types/geojson": "^7946.0.14", "@vitest/coverage-v8": "^2.1.2", "benchmarkify": "^4.0.0", "prettier": "^3.3.3", "tsx": "^4.19.2", "typescript": "^5.6.2", "vitest": "^2.1.1" } }