aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorKevin J Hoerr <kjhoerr@protonmail.com>2020-04-26 21:53:26 -0400
committerKevin J Hoerr <kjhoerr@protonmail.com>2020-04-26 21:53:26 -0400
commitddecabba54eb24ab4ac07a67621f805d3ad9e2ce (patch)
tree7422ecca20f3a66ce1e6bc2839db454eacc1fbd2 /package.json
parentee068fcbf0f409ac91d6559438e84fb89e654a15 (diff)
downloadao-coverage-ddecabba54eb24ab4ac07a67621f805d3ad9e2ce.tar.gz
ao-coverage-ddecabba54eb24ab4ac07a67621f805d3ad9e2ce.tar.bz2
ao-coverage-ddecabba54eb24ab4ac07a67621f805d3ad9e2ce.zip
These changes moved a lot of the startup async to run in a streamlined
async init function. This brings more logic "to light", so it should probably have unit tests added to check the edge cases. As a bonus, no async runs as a result of route initialization. Speaking of routes, it might be nice to trim down the route calls themselves with async functions, if possible. The upload routes in particular use a lot of async. Just a note for the future.
Diffstat (limited to 'package.json')
-rw-r--r--package.json3
1 files changed, 1 insertions, 2 deletions
diff --git a/package.json b/package.json
index af14397..abe8630 100644
--- a/package.json
+++ b/package.json
@@ -57,8 +57,7 @@
"src/**/*.ts",
"!src/**/*.test.ts",
"!src/**/__tests__/**/*.ts",
- "!src/index.ts",
- "!src/init.ts"
+ "!src/index.ts"
],
"roots": [
"src/"