diff options
| author | Kevin J Hoerr <kjhoerr@protonmail.com> | 2019-12-09 18:11:26 -0500 |
|---|---|---|
| committer | Kevin J Hoerr <kjhoerr@protonmail.com> | 2019-12-09 18:11:26 -0500 |
| commit | 85d646880e1e3fef1d9547b72c2d0107e3465d90 (patch) | |
| tree | aaa1b2e2347daf1fa277baf33a6b0bedf35c009d /package.json | |
| parent | 05204ed4699f983887db85416dba9a387b1c235a (diff) | |
| download | ao-coverage-85d646880e1e3fef1d9547b72c2d0107e3465d90.tar.gz ao-coverage-85d646880e1e3fef1d9547b72c2d0107e3465d90.tar.bz2 ao-coverage-85d646880e1e3fef1d9547b72c2d0107e3465d90.zip | |
Add template process to serve bash file
Unfortunately, a static file can't really be used to serve the
connection - the host address is needed to link back to the server.
Only a light library is needed to handle the template file though,
and if more are needed in the future it should be a non-trivial
task to add them to the process.
By default I'm configuring this to work with drone.io, since that
is the CI that I personally will be using (most likely). It should
be non-trivial to configure other CI to handle the script as well.
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json index 85b4079..1db7730 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "main": "build/index.js", "scripts": { "start:dev": "tsc-watch --onSuccess \"node ./build/index.js\"", - "format": "prettier --write src/**/*.ts", + "format": "prettier --write 'src/**/*.ts'", "lint": "eslint 'src/**/*.ts'", "lint:fix": "eslint --fix 'src/**/*.ts'", "tsc": "tsc" @@ -24,6 +24,7 @@ "dotenv": "8.2.0", "express": "4.17.1", "express-winston": "^4.0.1", + "handlebars": "^4.5.3", "jsdom": "^15.2.1", "mongodb": "^3.3.5", "typescript": "^3.7.3", |
