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.

102 lines
2.9 KiB

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