places-autocomplete-hook
Version:
A React hook for Google Places Autocomplete API
96 lines (95 loc) • 2.43 kB
JSON
{
"name": "places-autocomplete-hook",
"version": "0.1.6",
"description": "A React hook for Google Places Autocomplete API",
"type": "module",
"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"
}
},
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/gstrobl/places-autocomplete-hook.git"
},
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"clean": "rimraf dist",
"prepublishOnly": "yarn clean && yarn build",
"test": "vitest",
"test:watch": "vitest watch",
"test:coverage": "vitest run --coverage",
"prepare": "husky",
"lint": "eslint src --ext .ts,.tsx",
"lint:fix": "eslint src --ext .ts,.tsx --fix",
"format": "prettier --write \"**/*.{ts,tsx,json,md}\"",
"typecheck": "tsc --noEmit --project tsconfig.json",
"lint-staged": "lint-staged"
},
"keywords": [
"react",
"hook",
"google",
"places",
"google-places-api",
"google places api autocomplete",
"autocomplete",
"typescript",
"google-places",
"google-maps",
"location-search"
],
"author": "Seatsmatch GmbH",
"license": "MIT",
"peerDependencies": {
"react": ">=16.8.0"
},
"devDependencies": {
"@eslint/js": "^9.0.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/node": "^22.15.30",
"@types/react": "^19.0.0",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"@vitest/coverage-v8": "3.2.2",
"eslint": "^9.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^9.1.7",
"jsdom": "^26.1.0",
"lint-staged": "^16.1.0",
"prettier": "^3.2.5",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"rimraf": "^6.0.1",
"tsup": "^8.5.0",
"typescript": "^5.5.0",
"vitest": "^3.2.2"
},
"lint-staged": {
"*.{ts,tsx}": [
"yarn lint:fix",
"yarn format"
],
"*.{json,md}": [
"prettier --write"
]
},
"dependencies": {
"npm": "^11.4.1"
}
}