HTML5 app for giving and receiving charity. https://helpinghelena.org
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

removebloat.sh 1.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. #!/bin/sh
  2. # This script removes some stuff in `www/node_modules` that the app doesn't need to run.
  3. # It removes about 6MB from the build size.
  4. cd www/node_modules
  5. rm -rf .bin
  6. rm -rf ansicolors
  7. rm -rf buffer-from
  8. rm -rf cardinal
  9. rm -rf concat-stream
  10. rm -rf core-util-is
  11. rm -rf csscolorparser
  12. rm -rf dom7
  13. rm -rf earcut
  14. rm -rf esm
  15. rm -rf esprima
  16. rm -rf expect.js
  17. rm -rf geojson-vt
  18. rm -rf gl-matrix
  19. rm -rf grid-index
  20. rm -rf ieee754
  21. rm -rf inherits
  22. rm -rf isarray
  23. rm -rf kdbush
  24. rm -rf @mapbox
  25. rm -rf minimist
  26. rm -rf murmurhash-js
  27. rm -rf path-to-regexp
  28. rm -rf pbf
  29. rm -rf potpack
  30. rm -rf process-nextick-args
  31. rm -rf protocol-buffers-schema
  32. rm -rf quickselect
  33. rm -rf readable-stream
  34. rm -rf redeyed
  35. rm -rf resolve-protobuf-schema
  36. rm -rf rw
  37. rm -rf safe-buffer
  38. rm -rf sharkdown
  39. rm -rf split
  40. rm -rf ssr-window
  41. rm -rf stream-spigot
  42. rm -rf string_decoder
  43. rm -rf supercluster
  44. rm -rf template7
  45. rm -rf through
  46. rm -rf tinyqueue
  47. rm -rf typedarray
  48. rm -rf util-deprecate
  49. rm -rf vt-pbf
  50. rm -rf wgs84
  51. cd @fortawesome/fontawesome-free
  52. rm -rf js
  53. rm -rf less
  54. rm -rf scss
  55. rm -rf sprites
  56. rm -rf svgs
  57. find css -type f -not -name 'all.min.css' -delete
  58. cd ../..
  59. cd jquery
  60. rm -rf src
  61. rm -rf external
  62. cd ..
  63. cd framework7
  64. rm -rf components
  65. rm -rf lazy-components
  66. rm -rf less
  67. rm -rf modules
  68. rm -rf utils
  69. rm -f framework7.*
  70. find css -type f -not -name 'framework7.bundle.min.css' -delete
  71. find js -type f -not -name 'framework7.bundle.min.js' -delete
  72. cd ..
  73. cd leaflet
  74. rm -rf src
  75. find dist -type f -not -name 'leaflet.css' -not -name 'leaflet.js' -delete
  76. cd ..
  77. cd mapbox-gl
  78. rm -rf build
  79. rm -rf flow-typed
  80. rm -rf node_modules
  81. rm -rf src
  82. cd ..
  83. cd mapbox-gl-leaflet
  84. rm -rf examples
  85. cd ..
  86. cd qrcode-generator
  87. rm -f qrcode.d.ts
  88. rm -f qrcode_*
  89. rm -r sample.*
  90. rm -rf test
  91. echo "Cleanup finished"