package.json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. {
  2. "name": "indoor-monitor",
  3. "version": "0.1.0",
  4. "description": "Web Monitor for showing indoors data",
  5. "main": "index.js",
  6. "scripts": {
  7. "start": "craco start",
  8. "build": "craco build",
  9. "test": "craco test",
  10. "doc": "npm run doc:js:check && npm run doc:js",
  11. "doc:js": "documentation build ./src/*.js ./src/ctrl ./src/model ./src/view -f html -o doc/ --shallow",
  12. "doc:js:check": "documentation lint ./src/*.js ./src/ctrl ./src/model ./src/view --shallow",
  13. "i18n:build": "i18nline synch && node presets_extract_labels.js",
  14. "i18n:add": "tx set --auto-local -r osminedit.ui 'src/config/locales/ui/<lang>.json' --source-lang cn --type KEYVALUEJSON",
  15. "i18n:push": "tx push -s",
  16. "i18n:pull": "tx pull -a --minimum-perc=75 && node fix_i18n_files.js && i18nline index && node presets_merge_labels.js",
  17. "i18n:clean": "rm -rf ./src/config/locales/**/*.js*",
  18. "icons": "for i in public/img/icons/*.svg ; do inkscape -z -e ${i%.*}.png -w 32 -h 32 $i ; done",
  19. "clean": "rm -rf build/* doc/*"
  20. },
  21. "repository": {
  22. "type": "git",
  23. "url": "https://framagit.org/PanierAvide/osminedit.git"
  24. },
  25. "keywords": [
  26. "openstreetmap",
  27. "indoor",
  28. "editor",
  29. "osm",
  30. "building"
  31. ],
  32. "author": "Adrien PAVIE, Daimler AG",
  33. "license": "ISC",
  34. "dependencies": {
  35. "@turf/along": "^6.0.1",
  36. "@turf/area": "^6.0.1",
  37. "@turf/bbox": "^6.0.1",
  38. "@turf/bearing": "^6.0.1",
  39. "@turf/boolean-contains": "^6.0.1",
  40. "@turf/boolean-disjoint": "^6.0.2",
  41. "@turf/boolean-intersects": "^6.0.2",
  42. "@turf/boolean-point-in-polygon": "^6.0.1",
  43. "@turf/boolean-point-on-line": "^6.0.1",
  44. "@turf/buffer": "^5.1.5",
  45. "@turf/center-of-mass": "^6.0.1",
  46. "@turf/helpers": "^6.1.4",
  47. "@turf/intersect": "^6.1.3",
  48. "@turf/meta": "^6.0.2",
  49. "@turf/nearest-point": "^6.0.1",
  50. "@turf/point-on-feature": "^5.1.5",
  51. "@turf/point-to-line-distance": "^6.0.0",
  52. "@turf/polygon-to-line": "^6.0.3",
  53. "@turf/transform-translate": "^5.1.5",
  54. "@turf/turf": "^6.2.0",
  55. "array-flat-polyfill": "^1.0.1",
  56. "bootstrap": "^4.3.1",
  57. "fast-deep-equal": "^2.0.1",
  58. "file-saver": "^2.0.2",
  59. "fuse.js": "^3.4.5",
  60. "geojson-validation": "^0.2.1",
  61. "leaflet": "^1.5.1",
  62. "leaflet-distortableimage": "^0.6.7",
  63. "leaflet-draw": "^1.0.4",
  64. "leaflet-editable": "^1.2.0",
  65. "leaflet-geometryutil": "^0.9.1",
  66. "leaflet-hash": "^0.2.1",
  67. "leaflet-polylinedecorator": "^1.6.0",
  68. "leaflet-textpath": "^1.2.0",
  69. "leaflet-toolbar": "^0.4.0-alpha.2",
  70. "martinez-polygon-clipping": "^0.7.3",
  71. "mdi-react": "^5.5.0",
  72. "mousetrap": "^1.6.3",
  73. "nominatim-browser": "^2.0.2",
  74. "object-hash": "^1.3.1",
  75. "osm-auth": "^2.4.0",
  76. "osm-request": "^1.2.4",
  77. "osmtogeojson": "^3.0.0-beta.3",
  78. "popper.js": "^1.16.1",
  79. "pubsub-js": "^1.7.0",
  80. "react": "^16.8.6",
  81. "react-bootstrap": "^1.0.0-beta.10",
  82. "react-bootstrap-multiselect": "^2.4.1",
  83. "react-dom": "^16.8.6",
  84. "react-dropzone": "^10.1.6",
  85. "react-leaflet": "^2.4.0",
  86. "react-leaflet-bing": "^4.1.0",
  87. "react-scripts": "2.1.5",
  88. "react-three-state-checkbox": "^1.2.2",
  89. "socket.io-client": "^2.0.4",
  90. "xml2js": "^0.4.19"
  91. },
  92. "devDependencies": {
  93. "@craco/craco": "^5.0.0",
  94. "assert": "^1.5.0",
  95. "documentation": "^9.3.1",
  96. "i18nline": "^2.0.1"
  97. },
  98. "eslintConfig": {
  99. "extends": "react-app"
  100. },
  101. "browserslist": [
  102. ">0.2%",
  103. "not dead",
  104. "not ie <= 11",
  105. "not op_mini all"
  106. ],
  107. "i18n": {
  108. "out": "src/config/locales/ui"
  109. },
  110. "homepage": "."
  111. }