diff --git a/package.json b/package.json index 43d2e4d95..212f9d7f0 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,8 @@ "doc": "jsdoc -r -c jsdoc_conf.json -d ./doc .", "lint": "eslint .", "test": "vitest", - "publish": "npm run build && npm run test" + "prepublishOnly": "npm run test", + "prepare": "npm run build" }, "repository": { "type": "git",