Skip to content

Commit

Permalink
Don't run tsup if clean-package fails
Browse files Browse the repository at this point in the history
  • Loading branch information
ghengeveld committed Oct 23, 2024
1 parent 8e88b0b commit f3a71ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@
"isChromatic.d.ts"
],
"scripts": {
"build": "clean-package ; tsup ; clean-package restore",
"build": "clean-package && tsup ; clean-package restore",
"build-storybook": "storybook build --stats-json",
"build-test-storybook": "cross-env SMOKE_TEST=true storybook build -o test-storybook --stats-json",
"build-subdir": "cd subdir ; yarn build ; cd ..",
"build-subdir": "cd subdir && yarn build ; cd ..",
"chromatic": "./dist/bin.js",
"chromatic-prebuilt": "./dist/bin.js --storybook-build-dir=\"storybook-static\"",
"chromatic-staging": "CHROMATIC_INDEX_URL=https://www.staging-chromatic.com ./dist/bin.js",
Expand Down

0 comments on commit f3a71ee

Please sign in to comment.