fix: pre-publish and post-publish hooks

This commit is contained in:
Simon
2026-04-12 03:16:13 +08:00
parent 4d27d49752
commit acfb336a9a
11 changed files with 86 additions and 103 deletions

View File

@@ -42,7 +42,7 @@
"homepage": "https://alibaba.github.io/page-agent/",
"scripts": {
"build": "vite build",
"prepublishOnly": "node ../../scripts/prepare-publish.js",
"postpublish": "node ../../scripts/restore-dev.js"
"prepublishOnly": "node ../../scripts/pre-publish.js",
"postpublish": "node ../../scripts/post-publish.js"
}
}