kenya-locations
Version:
A comprehensive and intuitive TypeScript package for working with Kenyan administrative divisions (counties, sub-counties, constituencies, and wards)
67 lines (66 loc) • 1.87 kB
JSON
{
"name": "kenya-locations",
"version": "0.1.8",
"description": "A comprehensive and intuitive TypeScript package for working with Kenyan administrative divisions (counties, sub-counties, constituencies, and wards)",
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"author": "David Amunga <https://davidamunga.com>",
"license": "MIT",
"files": [
"dist"
],
"keywords": [
"kenya",
"counties",
"constituencies",
"wards",
"administrative",
"divisions",
"locations",
"geospatial"
],
"scripts": {
"dev": "vite",
"build": "tsc --p ./tsconfig.json && vite build",
"preview": "vite preview",
"test": "vitest run",
"test:watch": "vitest",
"validate": "node scripts/validate-data.js",
"lint": "eslint . --no-warn-ignored",
"lint:fix": "eslint . --fix --no-warn-ignored",
"format": "prettier --write .",
"format:check": "prettier --check .",
"prepare": "husky"
},
"dependencies": {
"fuse.js": "^7.1.0"
},
"devDependencies": {
"@eslint/js": "^9.27.0",
"@typescript-eslint/eslint-plugin": "^8.32.1",
"@typescript-eslint/parser": "^8.32.1",
"eslint": "^9.26.0",
"husky": "^9.1.7",
"lint-staged": "^16.0.0",
"prettier": "^3.5.3",
"typescript": "~5.8.3",
"vite": "^6.3.5",
"vite-plugin-dts": "^4.5.3",
"vitest": "^1.3.1"
},
"packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39",
"lint-staged": {
"*.{ts,tsx,js,jsx}": [
"eslint --fix --max-warnings 50 --no-warn-ignored",
"prettier --write"
],
"*.{json,md,yml,yaml}": [
"prettier --write"
],
"lib/data/*.ts": [
"node scripts/validate-staged.js"
]
}
}