diff --git a/package.json b/package.json index 968846ae..e9125ad2 100644 --- a/package.json +++ b/package.json @@ -12,12 +12,10 @@ "dev": "yarn --cwd examples dev", "docs": "yarn --cwd docs dev", "build": "yarn turbo run build", - "postbuild": "yarn typedoc", "prerelease": "git-cliff --output CHANGELOG.md && git add CHANGELOG.md && git commit -m \"chore: Update CHANGELOG.md\"", "release": "yarn turbo run release", "test": "yarn turbo run test", - "lint": "yarn turbo run lint", - "typedoc": "typedoc --tsconfig ./package/tsconfig.docs.json ./package/dist/index.d.ts --out typedocs" + "lint": "yarn turbo run lint" }, "devDependencies": { "@antfu/eslint-config": "^0.9.0", @@ -28,7 +26,6 @@ "prettier": "^2.4.1", "shx": "^0.3.4", "turbo": "^1.2.1", - "typedoc": "^0.22.13", "typescript": "^4.5.5" } } diff --git a/package/package.json b/package/package.json index 44ac627e..ce52e362 100644 --- a/package/package.json +++ b/package/package.json @@ -25,6 +25,7 @@ "prepare": "ts-patch install -s", "build": "vite build", "types": "vue-tsc --declaration --emitDeclarationOnly && tsc -p tsconfig.build.json && shx rm -rf tmp && yarn lint:dist", + "typedoc": "typedoc --tsconfig tsconfig.docs.json dist/index.d.ts --out typedocs", "theme": "postcss src/style.css -o dist/style.css && postcss src/theme-default.css -o dist/theme-default.css", "lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path ../.gitignore .", "lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix ./dist", @@ -49,6 +50,7 @@ "postcss-cli": "^9.1.0", "postcss-nested": "^5.0.6", "ts-patch": "^2.0.1", + "typedoc": "^0.22.13", "typescript-transform-paths": "^3.3.1", "unplugin-auto-import": "^0.6.9", "vite": "2.5.x",