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.

95 lines
2.7 KiB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
  1. {
  2. "name": "openstreetbrowser",
  3. "version": "0.0.0",
  4. "description": "A re-make of the famous OpenStreetBrowser (pure JS, using Overpass API)",
  5. "main": "src/export.js",
  6. "repository": "https://github.com/plepe/openstreetbrowser",
  7. "author": "Stephan Bösch-Plepelits <skunk@xover.mud.at>",
  8. "license": "GPL-3.0",
  9. "dependencies": {
  10. "@mapbox/maki": "^4.0.0",
  11. "async": "^2.5.0",
  12. "color-interpolate": "^1.0.2",
  13. "font-awesome": "^4.7.0",
  14. "i18next-client": "^1.11.4",
  15. "ip-location": "^1.0.1",
  16. "json-multiline-strings": "^0.1.0",
  17. "leaflet": "^1.0.3",
  18. "leaflet-geosearch": "^2.4.0",
  19. "leaflet-polylineoffset": "^1.1.0",
  20. "leaflet-textpath": "https://github.com/makinacorpus/Leaflet.TextPath#leaflet0.8-dev",
  21. "leaflet.locatecontrol": "^0.61.0",
  22. "modulekit-tabs": "^0.1.0",
  23. "moment": "^2.18.1",
  24. "opening_hours": "^3.5.0",
  25. "openstreetbrowser-categories-main": "https://github.com/plepe/openstreetbrowser-categories-main",
  26. "openstreetmap-date-parser": "^0.1.0",
  27. "openstreetmap-tag-translations": "https://github.com/plepe/openstreetmap-tag-translations",
  28. "overpass-layer": "https://github.com/plepe/overpass-layer",
  29. "query-string": "^5.0.0",
  30. "sheet-router": "^4.2.3",
  31. "weight-sort": "^1.3.0"
  32. },
  33. "browserify": {
  34. "transform": [
  35. [
  36. "babelify",
  37. {
  38. "presets": [
  39. [
  40. "env",
  41. {
  42. "targets": {
  43. "browsers": [
  44. "last 2 versions",
  45. "> 0.5%",
  46. "safari >= 7",
  47. "ie >= 11"
  48. ]
  49. }
  50. }
  51. ]
  52. ]
  53. }
  54. ]
  55. ]
  56. },
  57. "scripts": {
  58. "test": "echo \"Error: no test specified\" && exit 1",
  59. "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",
  60. "watch": "watchify --debug -g browserify-css src/index.js -o dist/openstreetbrowser.js -v",
  61. "prepublish": "npm run build",
  62. "lint": "standard src/*.js"
  63. },
  64. "devDependencies": {
  65. "babel-cli": "^6.26.0",
  66. "babel-core": "^6.26.0",
  67. "babel-preset-env": "^1.6.1",
  68. "babelify": "^8.0.0",
  69. "browserify": "^14.4.0",
  70. "browserify-css": "^0.14.0",
  71. "standard": "^10.0.2",
  72. "watchify": "^3.9.0"
  73. },
  74. "standard": {
  75. "global": [
  76. "lang",
  77. "ui_lang",
  78. "config",
  79. "options",
  80. "alert",
  81. "L",
  82. "register_hook",
  83. "call_hooks",
  84. "call_hooks_callback",
  85. "XMLHttpRequest",
  86. "map",
  87. "overpassFrontend",
  88. "location",
  89. "baseCategory",
  90. "currentPath",
  91. "overpassUrl",
  92. "ajax"
  93. ]
  94. }
  95. }