This removes most of the views rendered by Django, linters applying
only to those files, and the infra to compile Sass. It preserves
the package.json file at the root, primarily for our Heroku
configuration (to set the Node and npm versions, and the commands
to run to build the website - i.e. heroku-postbuild), but also to
list the one in `frontend` as an npm workspace, leading to an npm
install in the root also running frontend/'s postinstall scripts
and thereby set up the Git hooks.
I've left the routes to the Django-rendered FAQ and home pages in
place (even though those views are now empty), because they're
still used to generate links. It might be more sensible to just
replace those with direct links, but I'll let people with more
Django experience decide on that.
I've also left the template tags in place, in case they still come
in useful when e.g. rendering the forwarded email.
Silk is a live profiling and inspection tool for Django, suitable for
local development. It is disabled when DEBUG=False. It is also disabled
when running tests, since it adds database queries for writing profile
data to the database.
* Upgrade gulp-sass to 5.0.0, add package-lock.json file to be tracked
* Eslint fixes
* Update gulpfile to use correct compiler, lock in Sass 1.32.13 version to ignore warning flags
* add os cross-compatabile method to set gulp develop command
* remove unnecessary new lines within init method
Co-authored-by: lloan alas <lloanalas@outlook.com>