Update scripts

This commit is contained in:
Steve Ruiz 2021-11-21 12:07:58 +00:00
parent a1f4149efe
commit d2ae8f06fd

View file

@ -20,7 +20,7 @@
"examples/core-example-advanced" "examples/core-example-advanced"
], ],
"scripts": { "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:www": "yarn build:packages && cd apps/www && yarn build",
"build:core": "lerna run build:core", "build:core": "lerna run build:core",
"build:packages": "lerna run build:packages --stream", "build:packages": "lerna run build:packages --stream",
@ -38,7 +38,7 @@
"test:watch": "lerna run test:watch --stream", "test:watch": "lerna run test:watch --stream",
"docs": "lerna run typedoc", "docs": "lerna run typedoc",
"docs:watch": "lerna run typedoc --watch", "docs:watch": "lerna run typedoc --watch",
"postinstall": "husky install" "postinstall": "husky install & yarn build:packages"
}, },
"devDependencies": { "devDependencies": {
"@swc-node/jest": "^1.3.3", "@swc-node/jest": "^1.3.3",