Skip to content

Commit

Permalink
fix: create script for cleaning up vite-timestamp files
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrykKuniczak committed Sep 21, 2024
1 parent 76bb7bc commit 51a68d9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@
},
"type": "module",
"scripts": {
"clean:vite": "bash -c \"find . -type f -name 'vite.config.*.timestamp-*' ! -path './node_modules/*' -ls -delete 2>/dev/null\"",
"clean:bundle": "rimraf dist && rimraf dist-zip && turbo clean:bundle",
"clean:node_modules": "turbo daemon stop && pnpx rimraf node_modules && pnpx turbo clean:node_modules",
"clean:turbo": "turbo daemon stop && rimraf .turbo && turbo clean:turbo",
"clean": "pnpm clean:bundle && pnpm clean:turbo && pnpm clean:node_modules",
"clean:install": "pnpm clean:node_modules && pnpm install --frozen-lockfile",
"build": "pnpm clean:bundle && turbo ready && turbo build",
"build:firefox": "pnpm clean:bundle && turbo ready && cross-env __FIREFOX__=true turbo build",
"build": "pnpm clean:bundle && turbo ready && turbo build && pnpm clean:vite",
"build:firefox": "pnpm clean:bundle && turbo ready && cross-env __FIREFOX__=true turbo build && pnpm clean:vite",
"zip": "pnpm build && pnpm -F zipper zip",
"zip:firefox": "pnpm build:firefox && cross-env __FIREFOX__=true pnpm -F zipper zip",
"dev": "turbo ready && cross-env __DEV__=true turbo watch dev --concurrency 20",
Expand Down

0 comments on commit 51a68d9

Please sign in to comment.