diff --git a/scripts/build-docs.sh b/scripts/build-docs.sh
index 5ce55e7..d97b9f7 100755
--- a/scripts/build-docs.sh
+++ b/scripts/build-docs.sh
@@ -4,4 +4,4 @@
 rm -rf ../docs/*
 
 # generate docs
-typedoc --options typedoc.json
+npx typedoc --options typedoc.json