From e703de7660d6c89e450fd738221031824130081f Mon Sep 17 00:00:00 2001 From: amir ali Date: Mon, 29 Apr 2024 12:11:55 +0500 Subject: [PATCH] chore: change script name to prepublish --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index fa3c143..7ad1589 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "build": "tsc && vite build", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "test": "vitest ./src/__tests__/*.test.tsx", - "prepublishOnly": "npm run test && npm run build" + "prepublish": "npm run test && npm run build" }, "peerDependencies": { "react": "^17.x || ^18.x",