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.

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