diff --git a/package.json b/package.json index ff4e435..a251236 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "lint": "eslint --fix", "prebuild": "npm run clean && npm run lint", "build": "tsc", - "build.docs": "typedoc --out docs src --readme docs.md && shx cp -r dist docs/media", + "build.docs": "npm run build && typedoc --out docs src --readme docs.md && shx cp -r dist docs/media", "clean": "shx rm -rf dist", "test": "jest", "test.coverage": "jest --coverage",