diff options
-rw-r--r-- | static/Makefile | 3 | ||||
-rw-r--r-- | static/package.json | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/static/Makefile b/static/Makefile index d55688ba..b85422a3 100644 --- a/static/Makefile +++ b/static/Makefile @@ -17,6 +17,9 @@ all: $(TARGETS) script.out.js: $(TS_FILES) browserify $< -p tsify --noImplicitAny --debug -o $@ +deps.svg: $(TS_FILES) + madge --image $@ $^ + # Note that 'tsc --watch' doesn't provide the files we are using. It's # just here for debug. watch: diff --git a/static/package.json b/static/package.json index eab0a481..27ea218a 100644 --- a/static/package.json +++ b/static/package.json @@ -6,5 +6,8 @@ "devDependencies": { "@types/uuid": "^8.3.1", "uuid": "^8.3.2" + }, + "optionalDependencies": { + "madge": "^5.0.1" } } |