|
|
@ -7,69 +7,45 @@ |
|
|
|
"author": "Stephan Bösch-Plepelits <skunk@xover.mud.at>", |
|
|
|
"license": "GPL-3.0", |
|
|
|
"dependencies": { |
|
|
|
"@fortawesome/fontawesome-free": "^5.5.0", |
|
|
|
"@babel/cli": "^7.7.7", |
|
|
|
"@babel/core": "^7.7.7", |
|
|
|
"@babel/preset-env": "^7.7.7", |
|
|
|
"@fortawesome/fontawesome-free": "^5.12.0", |
|
|
|
"@mapbox/maki": "^5.0.0", |
|
|
|
"async": "^2.5.0", |
|
|
|
"async-foreach": "^0.1.3", |
|
|
|
"babel-cli": "^6.26.0", |
|
|
|
"babel-core": "^6.26.0", |
|
|
|
"babel-preset-env": "^1.6.1", |
|
|
|
"babelify": "^8.0.0", |
|
|
|
"color-interpolate": "^1.0.2", |
|
|
|
"babelify": "^10.0.0", |
|
|
|
"color-interpolate": "^1.0.5", |
|
|
|
"event-emitter": "^0.3.5", |
|
|
|
"file-saver": "^2.0.0", |
|
|
|
"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": "^1.6.0", |
|
|
|
"leaflet-geosearch": "^2.4.0", |
|
|
|
"leaflet-polylineoffset": "^1.1.0", |
|
|
|
"leaflet-textpath": "https://github.com/makinacorpus/Leaflet.TextPath#leaflet0.8-dev", |
|
|
|
"leaflet-textpath": "git+https://github.com/makinacorpus/Leaflet.TextPath.git#leaflet0.8-dev", |
|
|
|
"leaflet.locatecontrol": "^0.61.0", |
|
|
|
"leaflet.polylinemeasure": "https://github.com/ppete2/Leaflet.PolylineMeasure.git", |
|
|
|
"leaflet.polylinemeasure": "git+https://github.com/ppete2/Leaflet.PolylineMeasure.git", |
|
|
|
"md5": "^2.2.1", |
|
|
|
"modulekit-tabs": "^0.2.1", |
|
|
|
"modulekit-tabs": "^0.2.2", |
|
|
|
"moment": "^2.18.1", |
|
|
|
"natsort": "^1.0.6", |
|
|
|
"opening_hours": "^3.5.0", |
|
|
|
"openstreetbrowser-categories-main": "https://github.com/plepe/openstreetbrowser-categories-main", |
|
|
|
"openstreetbrowser-categories-main": "git+https://github.com/plepe/openstreetbrowser-categories-main.git", |
|
|
|
"openstreetmap-date-format": "^0.2.0", |
|
|
|
"openstreetmap-date-parser": "^0.1.0", |
|
|
|
"openstreetmap-tag-translations": "https://github.com/plepe/openstreetmap-tag-translations", |
|
|
|
"overpass-layer": "^2.4.0", |
|
|
|
"openstreetmap-tag-translations": "git+https://github.com/plepe/openstreetmap-tag-translations.git", |
|
|
|
"overpass-layer": "^2.5.0", |
|
|
|
"query-string": "^5.0.0", |
|
|
|
"sheet-router": "^4.2.3", |
|
|
|
"temaki": "^1.0.0", |
|
|
|
"temaki": "^1.9.0", |
|
|
|
"weight-sort": "^1.3.0" |
|
|
|
}, |
|
|
|
"browserify": { |
|
|
|
"transform": [ |
|
|
|
[ |
|
|
|
"babelify", |
|
|
|
{ |
|
|
|
"presets": [ |
|
|
|
[ |
|
|
|
"env", |
|
|
|
{ |
|
|
|
"targets": { |
|
|
|
"browsers": [ |
|
|
|
"last 2 versions", |
|
|
|
"> 0.5%", |
|
|
|
"safari >= 7", |
|
|
|
"ie >= 11" |
|
|
|
] |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
] |
|
|
|
} |
|
|
|
] |
|
|
|
] |
|
|
|
}, |
|
|
|
"scripts": { |
|
|
|
"test": "mocha --bail", |
|
|
|
"build": "npm run build-locales && 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", |
|
|
|
"build": "npm run build-locales && browserify -g browserify-css src/index.js -o dist/tmp1.js && babel --presets @babel/preset-env dist/tmp1.js > dist/tmp2.js && mv dist/tmp2.js dist/openstreetbrowser.js && rm dist/tmp1.js", |
|
|
|
"build-locales": "for i in `ls locales/` ; do browserify locales/$i -o dist/locale-$i ; done", |
|
|
|
"watch": "npm run build-locales && watchify --debug -g browserify-css src/index.js -o dist/openstreetbrowser.js -v", |
|
|
|
"prepublish": "npm run build", |
|
|
@ -77,8 +53,8 @@ |
|
|
|
}, |
|
|
|
"devDependencies": { |
|
|
|
"browserify": "^14.4.0", |
|
|
|
"browserify-css": "^0.14.0", |
|
|
|
"leaflet-polylinedecorator": "https://github.com/plepe/Leaflet.PolylineDecorator.git", |
|
|
|
"browserify-css": "^0.15.0", |
|
|
|
"leaflet-polylinedecorator": "git+https://github.com/plepe/Leaflet.PolylineDecorator.git", |
|
|
|
"mocha": "^5.2.0", |
|
|
|
"standard": "^10.0.2", |
|
|
|
"watchify": "^3.9.0" |
|
|
|