diff --git a/package.json b/package.json index 564b4d67a6..427b0a75ca 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ "generate:readme:toc": "markdown-toc -i README.md", "generate:assets": "npm run build:prod && npm run docs && npm run generate:readme:toc", "bump:version": "npm --no-git-tag-version --allow-same-version version $VERSION", - "prepublishOnly": "npm run build" + "prepublishOnly": "npm run build:prod && npm run generate:readme:toc" }, "publishConfig": { "access": "public"