UNPKG

@vis.gl/react-google-maps

Version:

React components and hooks for the Google Maps JavaScript API

100 lines (99 loc) 3.03 kB
{ "name": "@vis.gl/react-google-maps", "version": "1.8.2", "description": "React components and hooks for the Google Maps JavaScript API", "source": "src/index.ts", "main": "dist/index.umd.js", "module": "dist/index.modern.mjs", "exports": { ".": { "require": "./dist/index.umd.js", "types": "./dist/index.d.ts", "default": "./dist/index.modern.mjs" }, "./server": { "require": "./dist/server/index.umd.js", "types": "./dist/server/index.d.ts", "default": "./dist/server/index.modern.mjs" }, "./examples.css": "./dist/examples.css" }, "types": "dist/index.d.ts", "repository": { "type": "git", "url": "git+https://github.com/visgl/react-google-maps.git" }, "bugs": { "url": "https://github.com/visgl/react-google-maps/issues" }, "homepage": "https://github.com/visgl/react-google-maps#readme", "license": "MIT", "scripts": { "clean": "rm -rf ./dist && mkdir ./dist", "build": "npm-run-all clean -p build:**", "start": "run-p start:*", "build:examples": "cp ./examples/examples.css dist", "build:rollup": "rollup -c", "start:rollup": "rollup -c -w", "test:linter": "eslint 'src/**/*.{ts,tsx}'", "test:tsc": "tsc --project tsconfig.test.json --noEmit", "test:prettier": "prettier --check ./src ./examples", "test:unit": "jest", "test": "npm-run-all -p test:linter test:prettier test:tsc -s test:unit", "prepublishOnly": "npm run test && npm run build", "prepack": "npm-run-all clean build" }, "files": [ "./src", "./dist" ], "keywords": [ "React", "React Components", "React Hooks", "Google Maps", "Google Maps JavaScript API", "Maps" ], "dependencies": { "@googlemaps/js-api-loader": "^2.0.2", "@types/google.maps": "^3.54.10", "fast-deep-equal": "^3.1.3" }, "peerDependencies": { "react": ">=16.8.0 || ^19.0 || ^19.0.0-rc", "react-dom": ">=16.8.0 || ^19.0 || ^19.0.0-rc" }, "devDependencies": { "@eslint/js": "^9.17.0", "@googlemaps/jest-mocks": "^2.18.0", "@rollup/plugin-commonjs": "^29.0.0", "@rollup/plugin-node-resolve": "^16.0.3", "@rollup/plugin-replace": "^6.0.2", "@rollup/plugin-typescript": "^12.1.4", "@testing-library/jest-dom": "^6.0.1", "@testing-library/react": "^16.0.0", "@testing-library/user-event": "^14.4.3", "@types/jest": "^30.0.0", "@types/react": "^19.0.3", "@types/react-dom": "^19.0.2", "eslint": "^9.17.0", "eslint-config-prettier": "^10.0.1", "eslint-plugin-react": "^7.37.5", "eslint-plugin-react-hooks": "^7.0.1", "globals": "^17.0.0", "jest": "^30.0.4", "jest-environment-jsdom": "^30.2.0", "npm-run-all": "^4.1.5", "prettier": "^3.0.2", "react": "^19.0.0", "react-dom": "^19.0.0", "rollup": "^4.52.4", "rollup-plugin-dts": "^6.2.3", "ts-jest": "^29.0.5", "tslib": "^2.8.1", "typescript": "^5.9.3", "typescript-eslint": "^8.57.1", "vite": "^8.0.0" } }