UNPKG

polygon-offset

Version:

Polygon offsetting algorithm, aimed for use with leaflet

44 lines (43 loc) 1.16 kB
{ "name": "polygon-offset", "version": "0.3.2", "description": "Polygon offsetting algorithm, aimed for use with leaflet", "main": "src/offset.js", "keywords": [ "polygon", "offset", "algorithm", "scale", "margin", "padding" ], "author": "Alexander Milevski <info@w8r.name>", "license": "MIT", "devDependencies": { "browserify": "^13.1.1", "eslint": "^4.18.2", "geojson-project": "^1.0.1", "http-server": "^0.11.1", "leaflet": "^1.0.1", "nodemon": "^1.11.0", "tap": "^8.0.0", "watchify": "^3.7.0" }, "scripts": { "watch-js": "watchify example/app.js -o example/bundle.js -dv", "watch": "npm run watch-js", "build-js": "browserify -s Offset src/offset.js > dist/offset.js", "build": "npm run build-js", "start": "npm run watch & http-server -p 3003", "test": "tap test/*.test.js -R spec", "lint": "eslint ./src/", "test:watch": "nodemon --exec 'npm run test && npm run lint'" }, "repository": { "type": "git", "url": "https://github.com/w8r/polygon-offset.git" }, "dependencies": { "martinez-polygon-clipping": "^0.1.5" } }