Add hugo-installer to site package.json

This installs a local copy of the Hugo binary that we need to build
the site. Otherwise the user would have to install it via their sy-
stem package manager. This also adds a new npm "build:site" script
to build the site using our local version of Hugo.

Note: this is slightly annoying, but after toying with "easier" op-
tions like Hexo that integrate with the JavaScript ecosystem more
naturally, I ended up preferring Hugo anyways. Hexo's not nearly as
powerful or well documented as Hugo.

Note note: there is also the `hugo-bin` package on NPM, but it is
very out of date.
This commit is contained in:
2021-11-11 14:50:56 +02:00
parent 29c91c4ed4
commit 392a49f854
2 changed files with 2342 additions and 2 deletions

2337
site/package-lock.json generated

File diff suppressed because it is too large Load Diff