Skip to content

Commit

Permalink
build: add clean script and skip tsc in example build
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdyman committed Nov 26, 2023
1 parent ae30559 commit 2889849
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "0.0.0",
"scripts": {
"start": "vite",
"build": "tsc && vite build",
"build": "vite build",
"preview": "vite preview --port 3000"
},
"dependencies": {
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"build": "tsup",
"dev": "pnpm -r --stream run start",
"dx": "npm run bootstrap && pnpm exec husky install && pnpm run prepare",
"clean": "rm -rf ./node_modules ./coverage ./dist ./.nyc_output ./.*.log ./example/node_modules",
"lint": "eslint . && prettier --check .",
"prepare": "husky install",
"release": "pnpm run build && np --no-tests --no-cleanup",
Expand Down

0 comments on commit 2889849

Please sign in to comment.