cancel build script on error

This commit is contained in:
Philipp Kühn 2021-01-28 10:29:27 +01:00
parent 6a5dde0101
commit 1c0d56ec07

View File

@ -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"