google-maps-react-markers 1.0.2 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +7 -3
  2. package/package.json +14 -8
package/README.md CHANGED
@@ -1,16 +1,20 @@
1
1
  # google-maps-react-markers
2
2
 
3
- > Google Maps library that accept markers as react components and it's working with React 18+.
3
+ > Google Maps library that accepts markers as react components and works with React 18+.
4
4
 
5
5
  It supports a small set of the props of [Google Map React](https://github.com/google-map-react/google-map-react). Clustering also is possible.
6
6
  The library implements [Google Maps Custom Overlays](https://developers.google.com/maps/documentation/javascript/customoverlays) official library.
7
7
 
8
8
  [![NPM](https://img.shields.io/npm/v/google-maps-react-markers.svg)](https://www.npmjs.com/package/google-maps-react-markers) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
9
9
 
10
+ **If you like this library, please consider to support me ❤️**
11
+
12
+ [![Buy me a 🍺](https://img.shields.io/badge/PayPal-00457C?style=for-the-badge&logo=paypal&logoColor=white)](https://www.paypal.me/giorgiabosello)
13
+
10
14
  ## Install
11
15
 
12
16
  ```bash
13
- yarn install --save google-maps-react-markers
17
+ yarn add -D google-maps-react-markers
14
18
  ```
15
19
 
16
20
  or
@@ -59,7 +63,7 @@ const App = () => {
59
63
  );
60
64
  };
61
65
 
62
- export default Map;
66
+ export default App;
63
67
  ```
64
68
 
65
69
  ## Props
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "google-maps-react-markers",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "Google Maps library with markers as react components",
5
5
  "author": "Giorgia Bosello",
6
6
  "license": "MIT",
@@ -8,7 +8,7 @@
8
8
  "type": "git",
9
9
  "url": "https://github.com/giorgiabosello/google-maps-react-markers.git"
10
10
  },
11
- "homepage": "https://github.com/giorgiabosello/google-maps-react-markers",
11
+ "homepage": "https://giorgiabosello.github.io/google-maps-react-markers/",
12
12
  "main": "dist/index.js",
13
13
  "module": "dist/index.modern.js",
14
14
  "source": "src/index.js",
@@ -35,12 +35,13 @@
35
35
  "test:lint": "eslint .",
36
36
  "test:unit": "cross-env CI=1 react-scripts test --env=jsdom",
37
37
  "test:watch": "react-scripts test --env=jsdom",
38
- "predeploy": "cd example && yarn install && yarn run build",
39
- "deploy": "gh-pages -d example/build"
38
+ "predeploy": "cd docs && yarn install && yarn run build",
39
+ "deploy": "gh-pages -d docs/build"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "react": "^18.0.0",
43
- "react-dom": "^18.0.0"
43
+ "react-dom": "^18.0.0",
44
+ "react-scripts": "^5.0.1"
44
45
  },
45
46
  "devDependencies": {
46
47
  "@babel/core": "^7.20.2",
@@ -48,7 +49,7 @@
48
49
  "@babel/preset-react": "^7.18.6",
49
50
  "babel-eslint": "^10.0.3",
50
51
  "cross-env": "^7.0.2",
51
- "eslint": "^8.27.0",
52
+ "eslint": "^8.28.0",
52
53
  "eslint-config-prettier": "^8.5.0",
53
54
  "eslint-config-standard": "^17.0.0",
54
55
  "eslint-config-standard-react": "^12.0.0",
@@ -56,9 +57,10 @@
56
57
  "eslint-plugin-node": "^11.0.0",
57
58
  "eslint-plugin-prettier": "^4.2.1",
58
59
  "eslint-plugin-promise": "^6.1.1",
59
- "eslint-plugin-react": "^7.17.0",
60
+ "eslint-plugin-react": "^7.31.11",
60
61
  "eslint-plugin-react-hooks": "^4.6.0",
61
62
  "eslint-plugin-standard": "^5.0.0",
63
+ "eslint-plugin-typescript": "^0.14.0",
62
64
  "gh-pages": "^4.0.0",
63
65
  "microbundle-crl": "^0.13.10",
64
66
  "npm-run-all": "^4.1.5",
@@ -71,6 +73,10 @@
71
73
  "dist"
72
74
  ],
73
75
  "dependencies": {
74
- "prop-types": "^15.8.1"
76
+ "@babel/plugin-syntax-flow": "^7.18.6",
77
+ "@babel/plugin-transform-react-jsx": "^7.19.0",
78
+ "eslint-plugin-n": "^15.5.1",
79
+ "prop-types": "^15.8.1",
80
+ "typescript": "^4.9.3"
75
81
  }
76
82
  }