@loaders.gl/shapefile
Version:
Loader for the Shapefile Format
64 lines (63 loc) • 1.76 kB
JSON
{
"name": "@loaders.gl/shapefile",
"description": "Loader for the Shapefile Format",
"version": "4.4.4",
"license": "MIT",
"type": "module",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/visgl/loaders.gl"
},
"keywords": [
"geometry",
"loader",
"parser",
"shapefile",
"shp"
],
"types": "dist/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./shp-worker.js": {
"import": "./dist/shp-worker.js"
},
"./dbf-worker.js": {
"import": "./dist/dbf-worker.js"
}
},
"sideEffects": false,
"browser": {
"fs": false
},
"files": [
"src",
"dist",
"README.md"
],
"scripts": {
"pre-build": "npm run build-worker-shp && npm run build-worker-dbf && npm run build-bundle && npm run build-bundle-dev",
"build-bundle": "ocular-bundle ./bundle.ts --output=dist/dist.min.js",
"build-bundle-dev": "ocular-bundle ./bundle.ts --env=dev --output=dist/dist.dev.js",
"build-worker-shp": "esbuild src/workers/shp-worker.ts --bundle --outfile=dist/shp-worker.js --define:__VERSION__=\\\"$npm_package_version\\\"",
"build-worker-dbf": "esbuild src/workers/dbf-worker.ts --bundle --outfile=dist/dbf-worker.js --define:__VERSION__=\\\"$npm_package_version\\\""
},
"dependencies": {
"@loaders.gl/gis": "4.4.4",
"@loaders.gl/loader-utils": "4.4.4",
"@loaders.gl/schema": "4.4.4",
"@math.gl/proj4": "^4.1.0"
},
"peerDependencies": {
"@loaders.gl/core": "~4.4.0"
},
"gitHead": "44e7a4e978a63fad0ee257fedb688826f5f279e5"
}