UNPKG

kenya-locations

Version:

A comprehensive and intuitive TypeScript package for working with Kenyan administrative divisions (counties, sub-counties, constituencies, and wards)

128 lines (127 loc) 3.74 kB
{ "name": "kenya-locations", "version": "0.9.0", "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", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.cjs" }, "./counties": { "types": "./dist/counties.d.ts", "import": "./dist/counties.js", "require": "./dist/counties.cjs" }, "./localities": { "types": "./dist/localities.d.ts", "import": "./dist/localities.js", "require": "./dist/localities.cjs" }, "./areas": { "types": "./dist/areas.d.ts", "import": "./dist/areas.js", "require": "./dist/areas.cjs" }, "./constituencies": { "types": "./dist/constituencies.d.ts", "import": "./dist/constituencies.js", "require": "./dist/constituencies.cjs" }, "./wards": { "types": "./dist/wards.d.ts", "import": "./dist/wards.js", "require": "./dist/wards.cjs" }, "./sub-counties": { "types": "./dist/sub-counties.d.ts", "import": "./dist/sub-counties.js", "require": "./dist/sub-counties.cjs" }, "./search": { "types": "./dist/search.d.ts", "import": "./dist/search.js", "require": "./dist/search.cjs" }, "./version": { "types": "./dist/version.d.ts", "import": "./dist/version.js", "require": "./dist/version.cjs" }, "./package.json": "./package.json" }, "author": "David Amunga <https://davidamunga.com>", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/davidamunga/kenya-locations.git" }, "bugs": { "url": "https://github.com/davidamunga/kenya-locations/issues" }, "homepage": "https://kenya-locations.web.app", "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:coverage": "vitest run --coverage", "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": "cd ../.. && husky", "prepare-release": "bash scripts/prepare-release.sh", "changeset": "changeset", "changeset:version": "changeset version", "changeset:publish": "changeset publish" }, "dependencies": { "fuse.js": "^7.1.0" }, "devDependencies": { "@changesets/changelog-github": "^0.5.1", "@changesets/cli": "^2.29.7", "@eslint/js": "^9.27.0", "@typescript-eslint/eslint-plugin": "^8.32.1", "@typescript-eslint/parser": "^8.32.1", "@vitest/coverage-v8": "^1.6.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" ] } }