UNPKG

@georgemunyoro/use-places-autocomplete

Version:

React hook for Google Maps Places Autocomplete.

107 lines (106 loc) 3.4 kB
{ "name": "@georgemunyoro/use-places-autocomplete", "version": "4.0.2-alpha", "description": "React hook for Google Maps Places Autocomplete.", "license": "MIT", "homepage": "https://use-places-autocomplete.netlify.app", "repository": "https://github.com/wellyshen/use-places-autocomplete", "bugs": "https://github.com/wellyshen/use-places-autocomplete/issues", "keywords": [ "react", "hook", "react-hook", "places-autocomplete-hook", "use", "use-places-autocomplete", "places", "places-autocomplete", "places-autocomplete-service", "autocomplete", "autocomplete-service", "google-places", "google-places-api", "google-places-autocomplete", "google-api", "google-maps", "google-maps-api", "google-maps-places", "google-maps-places-api", "location", "address", "form", "geocoding", "geocoding-api", "typescript" ], "author": "Welly Shen <hivoid19@gmail.com> (https://github.com/wellyshen)", "main": "dist/index.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { "link-pkg": "yarn build:dev && npm link app/node_modules/react && yarn link", "start": "yarn clean:dist && yarn build:dev -w", "lint": "run-s lint:*", "lint:code": "eslint --fix . --ext .js,.ts,.tsx", "lint:type": "tsc", "lint:format": "prettier -w . -u --loglevel silent", "test": "jest", "test:watch": "yarn test --watch", "test:cov": "yarn clean:cov && yarn test --coverage", "build:dev": "yarn clean:dist && rollup -c", "build:prod": "yarn clean:dist && yarn clean:size && rollup -c --environment BUILD:production", "build:demo": "cd app && yarn && yarn build", "preversion": "run-s lint test build:prod", "postversion": "git push --follow-tags --no-verify && npm publish && yarn clean:dist && yarn clean:size", "clean:dist": "rimraf dist", "clean:size": "rimraf .size-snapshot.json", "clean:cov": "rimraf coverage", "clean": "run-p clean:*", "prepare": "husky install" }, "lint-staged": { "*.{js,ts,tsx}": "eslint --fix", "**/*": "prettier -w -u" }, "devDependencies": { "@babel/core": "^7.16.7", "@babel/preset-env": "^7.16.8", "@babel/preset-react": "^7.16.7", "@babel/preset-typescript": "^7.16.7", "@rollup/plugin-babel": "^5.3.0", "@rollup/plugin-commonjs": "^21.0.1", "@rollup/plugin-node-resolve": "^13.1.3", "@rollup/plugin-replace": "^3.0.1", "@testing-library/react": "^12.1.2", "@testing-library/react-hooks": "^7.0.2", "@types/google.maps": "^3.49.2", "@types/jest": "^27.4.0", "@types/lodash.debounce": "^4.0.6", "@types/react": "^17.0.38", "@types/react-dom": "^17.0.11", "eslint": "^8.2.0", "eslint-config-welly": "^1.13.0", "husky": "^7.0.4", "jest": "^27.4.7", "lint-staged": "^12.4.1", "npm-run-all": "^4.1.5", "prettier": "^2.5.1", "react": "^17.0.2", "react-cool-onclickoutside": "latest", "react-dom": "^17.0.2", "react-test-renderer": "^17.0.2", "rimraf": "^3.0.2", "rollup": "^2.63.0", "rollup-plugin-copy": "^3.4.0", "rollup-plugin-size-snapshot": "^0.12.0", "rollup-plugin-terser": "^7.0.2", "ts-jest": "^27.1.2", "typescript": "^4.5.4" }, "peerDependencies": { "react": ">= 16.8.0" } }