Skip to content

Commit

Permalink
Add 'clean' scripts using rimraf
Browse files Browse the repository at this point in the history
  • Loading branch information
skirtles-code committed Jan 2, 2024
1 parent 7770420 commit 03dce6f
Show file tree
Hide file tree
Showing 2 changed files with 136 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"@vitest/coverage-c8": "^0.24.0",
"@vue/tsconfig": "^0.1.3",
"jsdom": "^20.0.1",
"rimraf": "^5.0.1",
"typescript": "^4.8.4",
"vite": "^3.1.4",
"vite-plugin-dts": "^1.6.4",
Expand All @@ -47,11 +48,13 @@
"scripts": {
"test:unit": "vitest --environment jsdom",
"coverage": "vitest run --coverage --environment jsdom",
"build": "pnpm build-dev && pnpm build-neutral && pnpm build-prod && pnpm type-check",
"clean": "rimraf dist && rimraf coverage",
"build": "rimraf dist && pnpm build-dev && pnpm build-neutral && pnpm build-prod && pnpm type-check",
"build-dev": "vite build --mode development",
"build-neutral": "vite build --mode neutral",
"build-prod": "vite build --mode production",
"type-check": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false",
"docs:clean": "rimraf docs/.vitepress/dist && rimraf docs/.vitepress/cache",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:serve": "vitepress serve docs",
Expand Down
132 changes: 132 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 03dce6f

Please sign in to comment.