diff --git a/package.json b/package.json index 6affd3f..cd0a90b 100644 --- a/package.json +++ b/package.json @@ -4,12 +4,19 @@ "version": "1.0.0-beta.2", "description": "Deflates lines and polygons to a marker when their screen size becomes too small in lower zoom levels.", "license": "Apache-2.0", - "repository": "git://github.com/oliverroick/Leaflet.Deflate", + "repository": { + "type" : "git", + "url" : "git://github.com/oliverroick/Leaflet.Deflate" + }, + "homepage": "https://github.com/oliverroick/Leaflet.Deflate", + "bugs": "https://github.com/oliverroick/Leaflet.Deflate/issues", "main": "dist/L.Deflate.js", - "engines": { - "node": "*" + "source": "src/L.Deflate.js", + "directories": { + "test": "tests", + "lib": "src", + "example": "example" }, - "dependencies": {}, "devDependencies": { "eslint": "^5.12.1", "eslint-config-airbnb-base": "^13.1.0", @@ -19,6 +26,9 @@ "should": "13.2.3", "uglify-js": "^3.4.9" }, + "peerDependencies": { + "leaflet": "^1.0.0" + }, "scripts": { "test": "./node_modules/.bin/mocha-chrome tests/testrunner.html", "dist": "./node_modules/.bin/uglifyjs --output dist/L.Deflate.js src/L.Deflate.js",