|
@@ -116,7 +116,7 @@
|
|
|
"start:companion": "bash bin/companion.sh",
|
|
|
"start:companion:with-loadbalancer": "e2e/start-companion-with-load-balancer.mjs",
|
|
|
"build:bundle": "yarn node ./bin/build-bundle.mjs",
|
|
|
- "build:clean": "rm -rf packages/*/lib packages/@uppy/*/lib packages/*/dist packages/@uppy/*/dist",
|
|
|
+ "build:clean": "git clean -e node_modules -xfd packages e2e .parcel-cache coverage",
|
|
|
"build:companion": "yarn workspace @uppy/companion build",
|
|
|
"build:css": "yarn node ./bin/build-css.js",
|
|
|
"build:svelte": "yarn workspace @uppy/svelte build",
|
|
@@ -141,7 +141,7 @@
|
|
|
"format": "prettier -w .",
|
|
|
"release": "PACKAGES=$(yarn workspaces list --json) yarn workspace @uppy-dev/release interactive",
|
|
|
"size": "echo 'JS Bundle mingz:' && cat ./packages/uppy/dist/uppy.min.js | gzip | wc -c && echo 'CSS Bundle mingz:' && cat ./packages/uppy/dist/uppy.min.css | gzip | wc -c",
|
|
|
- "e2e": "yarn build && yarn e2e:skip-build",
|
|
|
+ "e2e": "build:clean && yarn build && yarn e2e:skip-build",
|
|
|
"e2e:skip-build": "npm-run-all --parallel watch:js:lib e2e:client start:companion:with-loadbalancer e2e:cypress",
|
|
|
"e2e:ci": "start-server-and-test 'npm-run-all --parallel e2e:client start:companion:with-loadbalancer' '1234|3020' e2e:headless",
|
|
|
"e2e:client": "yarn workspace e2e client:start",
|