react-leaflet-cluster
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "react-leaflet-cluster", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "React-leaflet-cluster is a plugin for react-leaflet. A wrapper component of Leaflet.markercluster.", | ||
"main": "lib/index.js", | ||
"module": "es/index.js", | ||
"types": "lib/index.d.ts", | ||
"files": [ | ||
@@ -14,9 +14,10 @@ "css", | ||
"scripts": { | ||
"build": "nwb build-react-component", | ||
"clean": "nwb clean-module && nwb clean-demo", | ||
"prepublishOnly": "npm run build", | ||
"start": "nwb serve-react-demo --port 3001", | ||
"test": "nwb test-react", | ||
"test:coverage": "nwb test-react --coverage", | ||
"test:watch": "nwb test-react --server" | ||
"build": "tsc && npm run minify", | ||
"minify": "uglifyjs --compress --mangle --output lib/index.min.js -- lib/index.js", | ||
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"", | ||
"lint": "tslint -p tsconfig.json", | ||
"prepublishOnly": "npm test && npm run lint", | ||
"preversion": "npm run lint", | ||
"version": "npm run format && git add -A src", | ||
"postversion": "git push && git push --tags" | ||
}, | ||
@@ -27,5 +28,6 @@ "dependencies": { | ||
"peerDependencies": { | ||
"react": "16.x", | ||
"leaflet": "1.7.x", | ||
"react-leaflet": "3.0.x" | ||
"leaflet": "^1.7.1", | ||
"react": "^17.0.1", | ||
"react-dom": "^17.0.1", | ||
"react-leaflet": "^3.0.2" | ||
}, | ||
@@ -35,2 +37,3 @@ "devDependencies": { | ||
"@types/leaflet.markercluster": "^1.4.3", | ||
"@types/node": "^14.14.31", | ||
"@types/react": "^17.0.0", | ||
@@ -46,3 +49,2 @@ "@types/react-dom": "^17.0.0", | ||
"leaflet": "^1.7.1", | ||
"nwb": "0.25.x", | ||
"prettier": "^2.2.1", | ||
@@ -53,3 +55,6 @@ "react": "^17.0.1", | ||
"ts-loader": "^8.0.14", | ||
"typescript": "^4.1.3" | ||
"tslint": "^6.1.3", | ||
"tslint-config-prettier": "^1.18.0", | ||
"typescript": "^4.1.3", | ||
"uglify-js": "^3.5.15" | ||
}, | ||
@@ -61,4 +66,8 @@ "author": "akursat", | ||
"keywords": [ | ||
"react","leaflet","marker-cluster","cluster","map" | ||
"react", | ||
"leaflet", | ||
"marker-cluster", | ||
"cluster", | ||
"map" | ||
] | ||
} |
@@ -11,3 +11,3 @@ # react-leaflet-cluster | ||
###Installation | ||
### Installation | ||
`yarn add react-leaflet-cluster` | ||
@@ -19,3 +19,3 @@ | ||
####Prerequisites | ||
#### Prerequisites | ||
Make sure that you've installed react-leaflet and leaflet. | ||
@@ -28,7 +28,7 @@ ```json | ||
###API | ||
#### API | ||
For more detailed guide and API see: | ||
https://akursat.gitbook.io/marker-cluster/api | ||
####Usage | ||
#### Usage | ||
@@ -35,0 +35,0 @@ ```tsx |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13
446874
5
22
4117
2
1