chore: use prepack hook instead of prepublish

This commit is contained in:
Tat Dat Duong
2025-03-06 17:04:59 +01:00
parent 88e7868885
commit e85e157e8f
+1 -1
View File
@@ -7,7 +7,7 @@
"scripts": {
"clean": "rm -rf dist/ dist-cjs/",
"build": "yarn clean && yarn lc_build --create-entrypoints --pre --tree-shaking",
"prepublish": "yarn run build",
"prepack": "yarn run build",
"format": "prettier --write src",
"lint": "prettier --check src && tsc --noEmit",
"test": "NODE_OPTIONS=--experimental-vm-modules jest --testPathIgnorePatterns=\\.int\\.test.ts",