docs: make the typedoc generation portable
[poolifier.git] / package.json
index 4c07c9766e4f81d27834a739390bdd49aa90096b..d2f72a57c58e2849aef769c11e134b12379a27e7 100644 (file)
@@ -31,7 +31,7 @@
     "lint:fix": "eslint . --cache --fix",
     "lint:report": "eslint . --cache --format json --output-file reports/eslint.json",
     "release": "release-it",
-    "typedoc": "mkdir ./tmp && cp ./docs/*.md ./tmp && typedoc && cp ./tmp/*.md ./docs && rm -rf ./tmp",
+    "typedoc": "node typedoc.mjs",
     "prepublishOnly": "pnpm build:prod"
   },
   "ts-standard": {