diff --git a/package.json b/package.json index 0eae74e30b..514cd15296 100644 --- a/package.json +++ b/package.json @@ -44,11 +44,10 @@ "template-starter:build": "yarn --cwd application-templates/starter build", "template-starter:start": "yarn --cwd application-templates/starter start", "template-starter:start:prod:local": "yarn --cwd application-templates/starter start:prod:local", - "build": "NODE_ENV=production lerna run build --no-private", - "build:typings": "NODE_ENV=production lerna run build:typings --no-private", - "build:bundles": "NODE_ENV=production lerna run build:bundles --no-private", - "build:bundles:watch": "NODE_ENV=development lerna run --no-private --parallel build:bundles:watch", - "build:website": "yarn build --scope '@commercetools-frontend/application-components' --include-dependencies && yarn --cwd website build && yarn --cwd website-components-playground build", + "prebuild": "lerna run prebuild --no-private", + "build": "preconstruct build", + "build:watch": "preconstruct watch", + "build:website": "NODE_ENV=production lerna run build --no-private --scope '@commercetools-frontend/application-components' --include-dependencies && yarn --cwd website build && yarn --cwd website-components-playground build", "now-build": "yarn build:website && rm -rf public && mv website/public public", "labels:sync": "github-labels sync", "generate-types:mc": "./scripts/graphql-cli.sh codegen --project mc",