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
6 years ago
7 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": "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. "leaflet.polylinemeasure": "https://github.com/ppete2/Leaflet.PolylineMeasure.git",
  24. "md5": "^2.2.1",
  25. "modulekit-tabs": "^0.1.0",
  26. "moment": "^2.18.1",
  27. "natsort": "^1.0.6",
  28. "opening_hours": "^3.5.0",
  29. "openstreetbrowser-categories-main": "https://github.com/plepe/openstreetbrowser-categories-main",
  30. "openstreetmap-date-parser": "^0.1.0",
  31. "openstreetmap-tag-translations": "https://github.com/plepe/openstreetmap-tag-translations",
  32. "overpass-layer": "^1.0.1",
  33. "query-string": "^5.0.0",
  34. "sheet-router": "^4.2.3",
  35. "weight-sort": "^1.3.0"
  36. },
  37. "browserify": {
  38. "transform": [
  39. [
  40. "babelify",
  41. {
  42. "presets": [
  43. [
  44. "env",
  45. {
  46. "targets": {
  47. "browsers": [
  48. "last 2 versions",
  49. "> 0.5%",
  50. "safari >= 7",
  51. "ie >= 11"
  52. ]
  53. }
  54. }
  55. ]
  56. ]
  57. }
  58. ]
  59. ]
  60. },
  61. "scripts": {
  62. "test": "echo \"Error: no test specified\" && exit 1",
  63. "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",
  64. "watch": "watchify --debug -g browserify-css src/index.js -o dist/openstreetbrowser.js -v",
  65. "prepublish": "npm run build",
  66. "lint": "standard src/*.js"
  67. },
  68. "devDependencies": {
  69. "babel-cli": "^6.26.0",
  70. "babel-core": "^6.26.0",
  71. "babel-preset-env": "^1.6.1",
  72. "babelify": "^8.0.0",
  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. }