shp-to-gltf
Version:
a javascript lib to convert shp to gltf
47 lines (46 loc) • 990 B
JSON
{
"name": "shp-to-gltf",
"version": "1.1.0",
"description": "a javascript lib to convert shp to gltf",
"files": [
"./src",
"README_ZH.md"
],
"main": "./src/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "vite",
"build": "vite build",
"pkg": "pkg . -t node12-win-x64 --out-path=dist/",
"preview": "vite preview"
},
"keywords": [
"shp",
"gltf",
"convert",
"glb",
"GLTF",
"SHP",
"shapefile"
],
"license": "MIT",
"type": "module",
"dependencies": {
"@turf/center": "^6.5.0",
"@turf/helpers": "^6.5.0",
"@turf/projection": "^6.5.0",
"gltf-pipeline": "^4.1.0",
"rollup-plugin-terser": "^7.0.2",
"shpjs": "^4.0.4",
"three": "^0.160.0",
"vite": "^5.0.10"
},
"repository": {
"type": "git",
"url": "https://github.com/wangchuan12/shp-to-gltf"
},
"bin": {
"shp-to-gltf": "./src/shp-to-gltf.js"
},
"author": "chenxuanxuan"
}