|
@@ -134,6 +134,10 @@
|
|
"lint:css": "stylelint ./packages/**/*.scss",
|
|
"lint:css": "stylelint ./packages/**/*.scss",
|
|
"lint:css:fix": "stylelint ./packages/**/*.scss --fix",
|
|
"lint:css:fix": "stylelint ./packages/**/*.scss --fix",
|
|
"lint": "eslint . --cache",
|
|
"lint": "eslint . --cache",
|
|
|
|
+ "format:show-diff": "git diff --quiet || (echo 'Unable to show a diff because there are unstaged changes'; false) && (prettier . -w --loglevel silent && git --no-pager diff; git restore .)",
|
|
|
|
+ "format:check": "prettier -c .",
|
|
|
|
+ "format:check-diff": "yarn format:check || (yarn format:show-diff && false)",
|
|
|
|
+ "format": "prettier -w .",
|
|
"release": "PACKAGES=$(yarn workspaces list --json) yarn workspace @uppy-dev/release interactive",
|
|
"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",
|
|
"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": "yarn build && yarn e2e:skip-build",
|