mirror of
https://github.com/google-map-react/google-map-react.git
synced 2025-12-08 18:26:32 +00:00
There are some nice changes since 1.7.0: - googlemaps/js-api-loader#99 -- retries loading the Google Maps script (which is a common source of error reports) - googlemaps/js-api-loader#351 -- fixes bad promise rejection that was reported by a user of google-maps-react It's a fairly big version bump but the vast majority of changes are dev dependency bumps.
78 lines
2.2 KiB
JSON
78 lines
2.2 KiB
JSON
{
|
|
"name": "google-map-react",
|
|
"version": "2.2.0",
|
|
"description": "Isomorphic component that allows rendering react components on a google map",
|
|
"author": "istarkov https://github.com/istarkov",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/google-map-react/google-map-react.git"
|
|
},
|
|
"main": "dist/index.js",
|
|
"module": "dist/index.modern.js",
|
|
"source": "src/index.js",
|
|
"engines": {
|
|
"node": ">=10"
|
|
},
|
|
"scripts": {
|
|
"build": "microbundle-crl -f cjs,umd src/index.cjs.js && microbundle-crl -f es,modern src/index.js",
|
|
"start": "microbundle-crl watch -f cjs,umd",
|
|
"prepare": "run-s build",
|
|
"test": "run-s test:unit test:lint test:build",
|
|
"test:build": "run-s build",
|
|
"test:lint": "eslint .",
|
|
"test:unit": "cross-env CI=1 react-scripts test --env=jsdom",
|
|
"test:watch": "react-scripts test --env=jsdom",
|
|
"predeploy": "cd example && yarn install && yarn run build",
|
|
"deploy": "gh-pages -d example/build"
|
|
},
|
|
"dependencies": {
|
|
"@googlemaps/js-api-loader": "^1.13.8",
|
|
"@mapbox/point-geometry": "^0.1.0",
|
|
"eventemitter3": "^4.0.4",
|
|
"prop-types": "^15.7.2"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^16.0.0 || ^17.0.0 || ^18.0.0",
|
|
"react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"babel-eslint": "^10.0.3",
|
|
"cross-env": "^7.0.2",
|
|
"eslint": "^6.8.0",
|
|
"eslint-config-prettier": "^6.7.0",
|
|
"eslint-config-standard": "^14.1.0",
|
|
"eslint-config-standard-react": "^9.2.0",
|
|
"eslint-plugin-import": "^2.18.2",
|
|
"eslint-plugin-node": "^11.0.0",
|
|
"eslint-plugin-prettier": "^3.1.1",
|
|
"eslint-plugin-promise": "^4.2.1",
|
|
"eslint-plugin-react": "^7.17.0",
|
|
"eslint-plugin-standard": "^4.0.1",
|
|
"expect": "1.20.2",
|
|
"gh-pages": "^2.2.0",
|
|
"jsdom": "^6.5.1",
|
|
"microbundle-crl": "^0.13.10",
|
|
"npm-run-all": "^4.1.5",
|
|
"prettier": "^2.0.4",
|
|
"react": "^16.0.0 || ^17.0.2 || ^18.0.0",
|
|
"react-dom": "^16.0.0 || ^17.0.2 || ^18.0.0",
|
|
"react-scripts": "^3.4.1"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"keywords": [
|
|
"react",
|
|
"reactjs",
|
|
"google",
|
|
"map",
|
|
"maps",
|
|
"isomorphic",
|
|
"render",
|
|
"component",
|
|
"javascript",
|
|
"react-component"
|
|
]
|
|
}
|