385 lines
12 KiB
JSON
385 lines
12 KiB
JSON
{
|
|
"name": "brouter-web",
|
|
"version": "0.18.1",
|
|
"description": "Web client for BRouter",
|
|
"private": true,
|
|
"main": "js/index.js",
|
|
"scripts": {
|
|
"build": "gulp",
|
|
"transifex-push": "gulp i18next && tx push --source",
|
|
"transifex-pull": "tx pull --all --minimum-perc 1 --force && (git add locales/*.json && git commit locales/*.json -m 'Update translations' || true)",
|
|
"layers": "node layers/josm/extract.mjs && node layers/collection/extract.mjs",
|
|
"test": "jest",
|
|
"lint": "eslint .",
|
|
"prettier": "prettier --write '**/*'",
|
|
"serve": "gulp serve watch",
|
|
"standalone": "../brouter/gradlew -p ../brouter clean build && ../brouter/misc/scripts/generate_profile_variants.sh && gulp release:zip_standalone",
|
|
"prepare": "husky install"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/nrenner/brouter-web.git"
|
|
},
|
|
"license": "MIT",
|
|
"browserslist": [
|
|
"> 0.5%",
|
|
"last 2 versions",
|
|
"Firefox ESR",
|
|
"Firefox >= 56",
|
|
"not dead",
|
|
"Explorer >= 10",
|
|
"Android >= 4.1",
|
|
"Safari >= 7",
|
|
"iOS >= 7"
|
|
],
|
|
"dependencies": {
|
|
"@bagage/leaflet.restoreview": "1.0.1",
|
|
"@fortawesome/fontawesome-free": "6.2.0",
|
|
"@ideditor/temaki": "5.1.0",
|
|
"@mapbox/maki": "8.0.0",
|
|
"@mapbox/polyline": "1.1.1",
|
|
"@mapbox/togeojson": "0.16.0",
|
|
"@maplibre/maplibre-gl-leaflet": "0.0.17",
|
|
"@turf/turf": "6.5.0",
|
|
"Leaflet.vector-markers": "nrenner/Leaflet.vector-markers#2ef80c9",
|
|
"abortcontroller-polyfill": "1.7.5",
|
|
"async": "2.6.4",
|
|
"bootbox": "5.5.3",
|
|
"bootstrap": "4.6.2",
|
|
"bootstrap-select": "1.13.18",
|
|
"bootstrap-slider": "11.0.2",
|
|
"codemirror": "5.65.9",
|
|
"core-js-bundle": "3.25.5",
|
|
"datatables": "1.10.18",
|
|
"fit-file-writer": "tbsmark86/fit-file-writer#3eebe13",
|
|
"font-awesome": "4.7.0",
|
|
"geo-data-exchange": "alexcojocaru/geo-data-exchange#v1.1.0",
|
|
"i18next": "19.9.2",
|
|
"i18next-browser-languagedetector": "6.1.8",
|
|
"i18next-xhr-backend": "3.2.2",
|
|
"jquery": "3.6.1",
|
|
"jquery-i18next": "1.2.1",
|
|
"jstree": "3.3.12",
|
|
"leaflet": "1.7.1",
|
|
"leaflet-control-geocoder": "2.4.0",
|
|
"leaflet-easybutton": "*",
|
|
"leaflet-editable": "1.2.0",
|
|
"leaflet-filelayer": "1.2.0",
|
|
"leaflet-geometryutil": "0.10.1",
|
|
"leaflet-hotline": "0.4.0",
|
|
"leaflet-osm-notes": "osmlab/leaflet-osm-notes#af2aa811",
|
|
"leaflet-plugins": "3.4.0",
|
|
"leaflet-providers": "1.13.0",
|
|
"leaflet-routing": "nrenner/leaflet-routing#773314a",
|
|
"leaflet-sidebar-v2": "nrenner/leaflet-sidebar-v2#dev",
|
|
"leaflet-triangle-marker": "1.0.2",
|
|
"leaflet.heightgraph": "nrenner/Leaflet.Heightgraph#0757b2a",
|
|
"leaflet.locatecontrol": "0.76.1",
|
|
"leaflet.snogylop": "0.4.0",
|
|
"leaflet.stravasegments": "2.3.2",
|
|
"mapbbcode": "MapBBCode/mapbbcode#v1.2.0",
|
|
"maplibre-gl": "2.4.0",
|
|
"overpass-layer": "3.1.1",
|
|
"popper.js": "1.16.1",
|
|
"regenerator-runtime": "0.13.9",
|
|
"togpx": "nrenner/togpx#722d291",
|
|
"tokml": "0.4.0",
|
|
"url-search-params": "1.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "7.19.3",
|
|
"@babel/core": "7.19.3",
|
|
"@babel/preset-env": "7.19.4",
|
|
"autoprefixer": "10.4.12",
|
|
"browser-sync": "2.27.10",
|
|
"del": "6.1.1",
|
|
"eslint": "8.25.0",
|
|
"eslint-plugin-compat": "4.0.2",
|
|
"gulp": "4.0.2",
|
|
"gulp-babel": "8.0.0",
|
|
"gulp-bump": "3.2.0",
|
|
"gulp-cached": "1.1.1",
|
|
"gulp-clean-css": "4.3.0",
|
|
"gulp-concat": "2.6.1",
|
|
"gulp-confirm": "1.0.8",
|
|
"gulp-debug": "4.0.0",
|
|
"gulp-git": "2.10.1",
|
|
"gulp-github-release": "1.2.1",
|
|
"gulp-if": "3.0.0",
|
|
"gulp-inject": "5.0.5",
|
|
"gulp-json-concat": "0.2.0",
|
|
"gulp-modify-css-urls": "2.0.0",
|
|
"gulp-postcss": "9.0.1",
|
|
"gulp-remember": "1.0.1",
|
|
"gulp-rename": "2.0.0",
|
|
"gulp-replace": "1.1.3",
|
|
"gulp-sourcemaps": "3.0.0",
|
|
"gulp-uglify": "3.0.2",
|
|
"gulp-util": "3.0.8",
|
|
"gulp-zip": "5.1.0",
|
|
"husky": "8.0.1",
|
|
"i18next-scanner": "4.0.0",
|
|
"jest": "29.1.2",
|
|
"jest-environment-jsdom": "29.1.2",
|
|
"marked": "4.1.1",
|
|
"merge-stream": "2.0.0",
|
|
"node-fetch": "3.2.10",
|
|
"npmfiles": "0.1.3",
|
|
"postcss": "8.4.17",
|
|
"prettier": "2.7.1",
|
|
"pretty-quick": "3.1.3"
|
|
},
|
|
"overrides": {
|
|
"leaflet": {
|
|
"main": [
|
|
"dist/leaflet-src.js",
|
|
"dist/leaflet.css",
|
|
"dist/images/*.png"
|
|
]
|
|
},
|
|
"leaflet-plugins": {
|
|
"main": [
|
|
"layer/tile/Bing.js"
|
|
]
|
|
},
|
|
"leaflet-routing": {
|
|
"main": [
|
|
"src/utils/LineUtil.Snapping.js",
|
|
"src/utils/Marker.Snapping.js",
|
|
"src/L.Routing.js",
|
|
"src/L.Routing.Draw.js",
|
|
"src/L.Routing.Edit.js"
|
|
]
|
|
},
|
|
"leaflet-sidebar-v2": {
|
|
"main": [
|
|
"js/leaflet-sidebar.js",
|
|
"css/leaflet-sidebar.css"
|
|
]
|
|
},
|
|
"leaflet-easybutton": {
|
|
"main": [
|
|
"src/easy-button.js",
|
|
"src/easy-button.css"
|
|
]
|
|
},
|
|
"bootstrap-select": {
|
|
"main": [
|
|
"js/bootstrap-select.js",
|
|
"dist/css/bootstrap-select.css"
|
|
]
|
|
},
|
|
"datatables": {
|
|
"main": [
|
|
"media/**"
|
|
]
|
|
},
|
|
"codemirror": {
|
|
"main": [
|
|
"lib/**"
|
|
]
|
|
},
|
|
"bootbox": {
|
|
"main": [
|
|
"bootbox.all.js"
|
|
]
|
|
},
|
|
"bootstrap": {
|
|
"main": [
|
|
"dist/js/bootstrap.js",
|
|
"dist/css/bootstrap.css"
|
|
]
|
|
},
|
|
"leaflet.heightgraph": {
|
|
"main": [
|
|
"dist/L.Control.Heightgraph.js",
|
|
"src/L.Control.Heightgraph.css",
|
|
"dist/img/*.svg"
|
|
]
|
|
},
|
|
"leaflet-control-geocoder": {
|
|
"main": [
|
|
"dist/Control.Geocoder.js",
|
|
"dist/Control.Geocoder.css",
|
|
"images/*.+(png|gif)"
|
|
]
|
|
},
|
|
"leaflet-osm-notes": {
|
|
"main": [
|
|
"leaflet-osm-notes.js"
|
|
]
|
|
},
|
|
"url-search-params": {
|
|
"main": "build/url-search-params.js"
|
|
},
|
|
"leaflet.stravasegments": {
|
|
"main": "dist/index.js"
|
|
},
|
|
"font-awesome": {
|
|
"main": [
|
|
"css/font-awesome.css",
|
|
"fonts/*"
|
|
]
|
|
},
|
|
"leaflet.locatecontrol": {
|
|
"main": [
|
|
"src/L.Control.Locate.js",
|
|
"dist/L.Control.Locate.css"
|
|
]
|
|
},
|
|
"bootstrap-slider": {
|
|
"main": [
|
|
"dist/bootstrap-slider.js",
|
|
"dist/css/bootstrap-slider.css"
|
|
],
|
|
"dependencies": {
|
|
"jquery": "*",
|
|
"bootstrap": "*"
|
|
}
|
|
},
|
|
"mapbbcode": {
|
|
"main": "src/controls/PermalinkAttribution.js"
|
|
},
|
|
"i18next": {
|
|
"main": [
|
|
"dist/umd/i18next.js"
|
|
]
|
|
},
|
|
"i18next-xhr-backend": {
|
|
"main": [
|
|
"dist/umd/i18nextXHRBackend.js"
|
|
]
|
|
},
|
|
"i18next-browser-languagedetector": {
|
|
"main": [
|
|
"dist/umd/i18nextBrowserLanguageDetector.js"
|
|
]
|
|
},
|
|
"jquery-i18next": {
|
|
"main": [
|
|
"dist/umd/jquery-i18next.js"
|
|
]
|
|
},
|
|
"jstree": {
|
|
"main": [
|
|
"dist/jstree.js",
|
|
"dist/themes/default/style.css",
|
|
"dist/themes/default/*.png"
|
|
]
|
|
},
|
|
"Leaflet.vector-markers": {
|
|
"main": [
|
|
"dist/leaflet-vector-markers.js",
|
|
"dist/leaflet-vector-markers.css"
|
|
]
|
|
},
|
|
"@turf/turf": {
|
|
"main": [
|
|
"turf.min.js"
|
|
]
|
|
},
|
|
"togpx": {
|
|
"main": [
|
|
"togpx.js"
|
|
]
|
|
},
|
|
"core-js-bundle": {
|
|
"main": [
|
|
"minified.js"
|
|
]
|
|
},
|
|
"tokml": {
|
|
"main": [
|
|
"tokml.js"
|
|
]
|
|
},
|
|
"overpass-layer": {
|
|
"main": [
|
|
"dist/overpass-layer.js"
|
|
]
|
|
},
|
|
"@mapbox/maki": {
|
|
"main": [
|
|
"icons/art-gallery.svg",
|
|
"icons/bakery.svg",
|
|
"icons/bank.svg",
|
|
"icons/bar.svg",
|
|
"icons/bbq.svg",
|
|
"icons/beer.svg",
|
|
"icons/bicycle.svg",
|
|
"icons/cafe.svg",
|
|
"icons/campsite.svg",
|
|
"icons/car.svg",
|
|
"icons/car-rental.svg",
|
|
"icons/drinking-water.svg",
|
|
"icons/entrance-alt1.svg",
|
|
"icons/fast-food.svg",
|
|
"icons/fuel.svg",
|
|
"icons/grocery.svg",
|
|
"icons/hospital.svg",
|
|
"icons/information.svg",
|
|
"icons/lodging.svg",
|
|
"icons/picnic-site.svg",
|
|
"icons/restaurant.svg",
|
|
"icons/shelter.svg",
|
|
"icons/shop.svg",
|
|
"icons/star.svg",
|
|
"icons/toilet.svg",
|
|
"icons/water.svg"
|
|
]
|
|
},
|
|
"@ideditor/temaki": {
|
|
"main": [
|
|
"icons/bench.svg",
|
|
"icons/shower.svg",
|
|
"icons/bicycle_rental.svg",
|
|
"icons/bicycle_repair.svg",
|
|
"icons/boat_rental.svg",
|
|
"icons/bus.svg",
|
|
"icons/sign_and_car.svg",
|
|
"icons/car_wash.svg",
|
|
"icons/ferry.svg",
|
|
"icons/car_parked.svg",
|
|
"icons/parking_space.svg",
|
|
"icons/bottles.svg",
|
|
"icons/cleaver.svg",
|
|
"icons/coffee.svg",
|
|
"icons/camper_trailer.svg",
|
|
"icons/cabin.svg",
|
|
"icons/bunk_beds.svg",
|
|
"icons/museum.svg",
|
|
"icons/spotting_scope.svg",
|
|
"icons/cabin.svg",
|
|
"icons/picnic_shelter.svg"
|
|
]
|
|
},
|
|
"@fortawesome/fontawesome-free": {
|
|
"main": [
|
|
"svgs/solid/basket-shopping.svg",
|
|
"svgs/solid/cart-shopping.svg",
|
|
"svgs/solid/ice-cream.svg",
|
|
"svgs/solid/carrot.svg",
|
|
"svgs/solid/cheese.svg",
|
|
"svgs/solid/bell-concierge.svg",
|
|
"svgs/solid/motorcycle.svg",
|
|
"svgs/solid/charging-station.svg",
|
|
"svgs/solid/box.svg",
|
|
"svgs/solid/taxi.svg",
|
|
"svgs/solid/phone-flip.svg",
|
|
"svgs/solid/beer.svg"
|
|
]
|
|
},
|
|
"maplibre-gl": {
|
|
"main": [
|
|
"dist/maplibre-gl.js",
|
|
"dist/maplibre-gl.js.map",
|
|
"dist/maplibre-gl.css"
|
|
]
|
|
},
|
|
"abortcontroller-polyfill": {
|
|
"main": [
|
|
"dist/polyfill-patch-fetch.js"
|
|
]
|
|
}
|
|
}
|
|
}
|