UNPKG

country-state-city

Version:
79 lines (78 loc) 1.99 kB
{ "name": "country-state-city", "version": "3.2.1", "description": "Library for fetching Country, its States and Cities", "main": "./lib/cjs/index.js", "module": "./lib/index.js", "types": "./lib/index.d.ts", "sideEffects": false, "scripts": { "test": "jest", "build": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && npm run minify", "prepublish": "npm run build", "lint": "eslint index.ts __test__ --fix", "minify": "ts-node src/scripts/minify.ts", "split-data":"ts-node src/scripts/splitLargeDatasetFiles-CSC.ts", "update-data":"ts-node src/scripts/combineSplitFilesToMakeALargeDatasetFiles-CSC.ts", "update-data-with-gz":"gz=true ts-node src/scripts/combineSplitFilesToMakeALargeDatasetFiles-CSC.ts" }, "author": "harpreetkhalsagtbit@gmail.com", "license": "GPL-3.0", "directories": { "lib": "lib" }, "repository": { "type": "git", "url": "git+https://github.com/harpreetkhalsagtbit/country-state-city.git" }, "husky": { "hooks": { "pre-commit": "npm test", "pre-push": "npm test" } }, "keywords": [ "Country", "State", "City", "GeoLocation", "Search", "Filter" ], "bugs": { "url": "https://github.com/harpreetkhalsagtbit/country-state-city/issues" }, "homepage": "https://github.com/harpreetkhalsagtbit/country-state-city#readme", "devDependencies": { "@types/jest": "^26.0.24", "@types/node": "^16.18.11", "@typescript-eslint/eslint-plugin": "^4.33.0", "@typescript-eslint/parser": "^4.33.0", "eslint": "^7.32.0", "eslint-config-airbnb": "^18.2.1", "eslint-config-prettier": "^7.2.0", "eslint-plugin-import": "^2.27.5", "eslint-plugin-prettier": "^3.4.1", "husky": "^4.3.8", "jest": "^26.6.3", "prettier": "^2.8.3", "ts-jest": "^26.5.6", "ts-loader": "^9.4.2", "ts-node": "^10.9.1", "typescript": "^4.9.4" }, "files": [ "lib/" ], "jest": { "moduleFileExtensions": [ "js", "jsx" ], "moduleDirectories": [ "node_modules", "bower_components", "src" ] } }