diff --git a/packages/calcite-components/package.json b/packages/calcite-components/package.json index 5f3c9edadf8..4245520a2d9 100644 --- a/packages/calcite-components/package.json +++ b/packages/calcite-components/package.json @@ -19,7 +19,8 @@ "hydrate/" ], "scripts": { - "build": "npm run util:prep-build-reqs && stencil build && npm run util:patch && npm run util:generate-t9n-docs-json && npm run util:clean-readmes", + "build": "npm run util:prep-build-reqs && stencil build", + "postbuild": "npm run util:patch && npm run util:generate-t9n-docs-json && npm run util:clean-readmes", "build:watch": "npm run util:prep-build-reqs && stencil build --no-docs --watch", "build:watch-dev": "npm run util:prep-build-reqs && stencil build --no-docs --dev --watch", "build-storybook": "npm run util:build-docs && NODE_OPTIONS=--openssl-legacy-provider build-storybook --output-dir ./docs --quiet", @@ -37,7 +38,7 @@ "release:docs": "npm run docs && storybook-to-ghpages --existing-output-dir=docs", "start": "npm run util:clean-js-files && concurrently --kill-others --raw \"tsc --project ./tsconfig-demos.json --watch\" \"npm run build:watch-dev -- --serve\"", "test": "stencil test --no-docs --no-build --spec --e2e", - "test:prerender": "stencil build --no-docs --prerender", + "test:prerender": "npm run build -- --prerender", "test:watch": "npm run build && npm run test -- -- --watchAll", "util:build-docs": "npm run util:prep-build-reqs && stencil build --docs --config stencil.storybook.config.ts", "util:clean-tested-build": "npm ci && npm test && npm run build",