Update front-end package manager configuration
Created on December 14, 2017. Copied from redmine (https://bugs.ligo.org/redmine/issues/6053)
We currently use bower
for managing a small set of front-end CSS and JS packages. We should fix this by creating a package.json or bower.json file in the server code repository so this is self-contained. There should also be some instructions (at least on Gitlab) for how to set up the repository, including running bower to install the packages.
We may also need to move to something other than bower. I get the following message when installing bower:
root@gracedb-test:~# npm install -g bower
npm WARN deprecated bower@1.8.2: ...psst! Your project can stop working at any moment because its dependencies can change. Prevent this by migrating to Yarn: https://bower.io/blog/2017/how-to-migrate-away-from-bower/
/usr/bin/bower -> /usr/lib/node_modules/bower/bin/bower
+ bower@1.8.2
updated 1 package in 3.776s
We can maybe move to yarn? Need to look into this more, see the above link.