gadm-ts/package.json

52 lines
1.7 KiB
JSON

{
"name": "@polymech/gadm",
"version": "1.1.0",
"description": "Pure TypeScript interface to the GADM v4.1 administrative boundaries database.",
"repository": {
"type": "git",
"url": "https://git.polymech.info/polymech/gadm-ts.git"
},
"homepage": "https://service.polymech.info/",
"main": "dist/index.js",
"type": "module",
"types": "dist/index.d.ts",
"bin": {
"gadm-boundaries": "scripts/boundaries.ts"
},
"exports": {
".": "./dist/index.js"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsc",
"dev": "tsc -w",
"tests": "vitest run",
"test:boundaries": "vitest run src/__tests__/boundary.test.ts",
"test:fua": "vitest run src/__tests__/fua.test.ts",
"test:geotiff": "vitest run src/__tests__/geotiff.test.ts",
"test:ghs-pop": "vitest run src/__tests__/ghs-pop.test.ts",
"test:enrich": "vitest run src/__tests__/enrich-ghs.test.ts",
"boundaries": "npx tsx scripts/boundaries.ts",
"refresh": "npx tsx scripts/refresh-database.ts"
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.13",
"@types/yargs": "^17.0.35",
"better-sqlite3": "^12.8.0",
"hyparquet-writer": "^0.13.0",
"typescript": "^5.0.0",
"vitest": "^4.1.0",
"yargs": "^18.0.0"
},
"dependencies": {
"@turf/turf": "^7.3.4",
"@types/proj4": "2.5.6",
"geotiff": "3.0.5",
"hyparquet": "^1.25.1",
"polygon-clipping": "^0.15.7",
"proj4": "2.20.4",
"zod": "^4.3.6"
}
}