Make scripts more portable
I noticed that the postinstall script failed when trying to set a development environment for the frontend. Other scripts failed as well when trying to run them, relying on yarn bin to find executables in node_modules.
This merge request tries to fix this by
- not relying on
yarnto be globally installed, at the price of some duplication in thepackage.json - changing the bash shebang line in the script to not rely on
bashbeing installed in/bin(see https://stackoverflow.com/a/21613044)
Edited by rrrnld