diff --git a/package.json b/package.json index f1296f741..4474cdbfd 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "lerna": "lerna", "bootstrap": "lerna bootstrap", "prepare": "if test \"$NODE_ENV\" != \"production\" && test \"$CI\" != \"true\" ; then husky install ; fi", + "prepack": "lerna run --stream prepack", "dev": "lerna run --stream prepack && lerna --scope=@logto/{core,ui,console} exec -- pnpm dev" }, "devDependencies": {