From d2ae8f06fd2b6efab2b06b401e0a1cbc088c1e03 Mon Sep 17 00:00:00 2001 From: Steve Ruiz Date: Sun, 21 Nov 2021 12:07:58 +0000 Subject: [PATCH] Update scripts --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e5454593a..7e262db3a 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "examples/core-example-advanced" ], "scripts": { - "build": "lerna run build --stream", + "build": "yarn build:packages && lerna run build --stream", "build:www": "yarn build:packages && cd apps/www && yarn build", "build:core": "lerna run build:core", "build:packages": "lerna run build:packages --stream", @@ -38,7 +38,7 @@ "test:watch": "lerna run test:watch --stream", "docs": "lerna run typedoc", "docs:watch": "lerna run typedoc --watch", - "postinstall": "husky install" + "postinstall": "husky install & yarn build:packages" }, "devDependencies": { "@swc-node/jest": "^1.3.3",