rwanda-geo
Version:
Complete, typed, and lightweight dataset of Rwanda's administrative divisions - 5 provinces, 30 districts, 416 sectors, 2,148 cells, and 14,837 villages. Server-side only package for Node.js, Next.js, and backend applications.
88 lines (87 loc) • 2.55 kB
JSON
{
"name": "rwanda-geo",
"version": "1.4.6",
"description": "Complete, typed, and lightweight dataset of Rwanda's administrative divisions - 5 provinces, 30 districts, 416 sectors, 2,148 cells, and 14,837 villages. Server-side only package for Node.js, Next.js, and backend applications.",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./package.json": "./package.json",
"./data/*": {
"import": "./dist/data/*.mjs",
"require": "./dist/data/*.js"
},
"./boundaries/*": {
"import": "./dist/boundaries/*.mjs",
"require": "./dist/boundaries/*.js"
}
},
"files": [
"dist/",
"src/data-embedded/",
"README.md",
"LICENSE"
],
"scripts": {
"generate-data": "node scripts/generate-data.js",
"optimize-data": "node scripts/optimize-compression.js",
"embed-data": "node scripts/embed-data.js",
"clean-data": "node scripts/manage-files.js data:remove",
"prebuild": "npm run clean-data && npm run generate-data && npm run optimize-data && npm run embed-data",
"build": "tsup",
"postbuild": "node scripts/manage-files.js data:copy",
"build:all": "npm run clean && npm run build",
"clean": "rm -rf dist",
"test": "jest",
"test:watch": "jest --watch",
"lint": "eslint src --ext .ts",
"type-check": "tsc --noEmit",
"version:check": "node scripts/version-sync.js --check",
"version:sync": "node scripts/version-sync.js --sync",
"prepublishOnly": "npm run build && npm test"
},
"keywords": [
"rwanda",
"geography",
"administrative",
"provinces",
"districts",
"sectors",
"cells",
"villages",
"server-side",
"nodejs",
"nextjs",
"api",
"backend"
],
"author": "Emmanuel Monehin",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/monehin/rwanda-geo.git"
},
"bugs": {
"url": "https://github.com/monehin/rwanda-geo/issues"
},
"homepage": "https://github.com/monehin/rwanda-geo#readme",
"devDependencies": {
"@types/jest": "^29.5.0",
"@types/node": "^20.0.0",
"@typescript-eslint/eslint-plugin": "^8.34.1",
"@typescript-eslint/parser": "^8.34.1",
"eslint": "^8.57.1",
"jest": "^29.5.0",
"ts-jest": "^29.1.0",
"tsup": "^8.5.0",
"typescript": "^5.0.0"
},
"engines": {
"node": ">=16.0.0"
}
}