From 1c0d56ec07367916e8525792933c05bb978ba4f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Ku=CC=88hn?= Date: Thu, 28 Jan 2021 10:29:27 +0100 Subject: [PATCH] cancel build script on error --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 253a6fa8..fe8106eb 100644 --- a/package.json +++ b/package.json @@ -17,8 +17,8 @@ "test:open": "cypress open --project tests", "test": "cypress run --project tests --quiet --reporter list", "build:docs": "yarn --cwd ./docs build", - "build:ci": "yarn clean:packages && for dir in packages/*; do package=${dir#'packages/'}; rollup -c --ci --scope @tiptap/$package; done", - "build:packages": "yarn clean:packages && for dir in packages/*; do package=${dir#'packages/'}; rollup -c --scope @tiptap/$package; done", + "build:ci": "yarn clean:packages && for dir in packages/*; do package=${dir#'packages/'}; rollup -c --ci --scope @tiptap/$package || exit 1; done", + "build:packages": "yarn clean:packages && for dir in packages/*; do package=${dir#'packages/'}; rollup -c --scope @tiptap/$package || exit 1; done", "release": "yarn lint && yarn test && yarn build:packages && lerna publish", "clean:packages": "rm -rf ./packages/*/dist", "reset": "yarn clean:packages && rm -rf ./**/.cache && rm -rf ./**/node_modules && rm -rf ./yarn.lock && yarn install"