Clean before building, and build before deploying
This adds a new npm script called clean
that deletes the dist/
directory. This can then be called before building, to ensure that
all and only the most recent built files are in dist/
. It also
runs the build before deploying.