diff --git a/package.json b/package.json index 06502c468..43cf1df4a 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "test": "pnpm -r --if-present run test", "check": "pnpm -r --if-present run check", "build": "pnpm -r --if-present run build", - "docs": "typedoc --out docs" + "docs": "pnpm run build && typedoc --out docs" }, "devDependencies": { "lint-staged": "^13.0.4",