Skip to content

Commit 591adbd

Browse files
committed
fix(package): update prepublishOnly and prepack scripts to use pnpm
1 parent d870fbc commit 591adbd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"lint": "eslint . && prettier --check {docs,src,test}/**/*.{css,js,ts,md,html}",
2020
"lint:fix": "eslint . --fix && prettier --write {docs,src,test}/**/*.{css,js,ts,md,html}",
2121
"prepare": "husky",
22-
"prepublishOnly": "node build.js build",
22+
"prepublishOnly": "pnpm run build",
23+
"prepack": "pnpm run build",
2324
"test": "vitest --run",
2425
"test:coverage": "vitest run --coverage",
2526
"test:watch": "vitest"

0 commit comments

Comments
 (0)