You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
97 lines
2.8 KiB
97 lines
2.8 KiB
{
|
|
"name": "openstreetbrowser",
|
|
"version": "0.0.0",
|
|
"description": "A re-make of the famous OpenStreetBrowser (pure JS, using Overpass API)",
|
|
"main": "src/export.js",
|
|
"repository": "https://github.com/plepe/openstreetbrowser",
|
|
"author": "Stephan Bösch-Plepelits <skunk@xover.mud.at>",
|
|
"license": "GPL-3.0",
|
|
"dependencies": {
|
|
"@mapbox/maki": "^4.0.0",
|
|
"async": "^2.5.0",
|
|
"async-foreach": "^0.1.3",
|
|
"color-interpolate": "^1.0.2",
|
|
"font-awesome": "^4.7.0",
|
|
"i18next-client": "^1.11.4",
|
|
"ip-location": "^1.0.1",
|
|
"json-multiline-strings": "^0.1.0",
|
|
"leaflet": "^1.0.3",
|
|
"leaflet-geosearch": "^2.4.0",
|
|
"leaflet-polylineoffset": "^1.1.0",
|
|
"leaflet-textpath": "https://github.com/makinacorpus/Leaflet.TextPath#leaflet0.8-dev",
|
|
"leaflet.locatecontrol": "^0.61.0",
|
|
"leaflet.polylinemeasure": "https://github.com/ppete2/Leaflet.PolylineMeasure.git",
|
|
"modulekit-tabs": "^0.1.0",
|
|
"moment": "^2.18.1",
|
|
"opening_hours": "^3.5.0",
|
|
"openstreetbrowser-categories-main": "https://github.com/plepe/openstreetbrowser-categories-main",
|
|
"openstreetmap-date-parser": "^0.1.0",
|
|
"openstreetmap-tag-translations": "https://github.com/plepe/openstreetmap-tag-translations",
|
|
"overpass-layer": "^1.0.1",
|
|
"query-string": "^5.0.0",
|
|
"sheet-router": "^4.2.3",
|
|
"weight-sort": "^1.3.0"
|
|
},
|
|
"browserify": {
|
|
"transform": [
|
|
[
|
|
"babelify",
|
|
{
|
|
"presets": [
|
|
[
|
|
"env",
|
|
{
|
|
"targets": {
|
|
"browsers": [
|
|
"last 2 versions",
|
|
"> 0.5%",
|
|
"safari >= 7",
|
|
"ie >= 11"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"build": "browserify -g browserify-css src/index.js -o dist/tmp1.js && babel --presets env dist/tmp1.js > dist/tmp2.js && mv dist/tmp2.js dist/openstreetbrowser.js && rm dist/tmp1.js",
|
|
"watch": "watchify --debug -g browserify-css src/index.js -o dist/openstreetbrowser.js -v",
|
|
"prepublish": "npm run build",
|
|
"lint": "standard src/*.js"
|
|
},
|
|
"devDependencies": {
|
|
"babel-cli": "^6.26.0",
|
|
"babel-core": "^6.26.0",
|
|
"babel-preset-env": "^1.6.1",
|
|
"babelify": "^8.0.0",
|
|
"browserify": "^14.4.0",
|
|
"browserify-css": "^0.14.0",
|
|
"standard": "^10.0.2",
|
|
"watchify": "^3.9.0"
|
|
},
|
|
"standard": {
|
|
"global": [
|
|
"lang",
|
|
"ui_lang",
|
|
"config",
|
|
"options",
|
|
"alert",
|
|
"L",
|
|
"register_hook",
|
|
"call_hooks",
|
|
"call_hooks_callback",
|
|
"XMLHttpRequest",
|
|
"map",
|
|
"overpassFrontend",
|
|
"location",
|
|
"baseCategory",
|
|
"currentPath",
|
|
"overpassUrl",
|
|
"ajax"
|
|
]
|
|
}
|
|
}
|