Skip to content

Commit 470f364

Browse files
committed
update clean script
1 parent 8fb284d commit 470f364

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@
2727
],
2828
"scripts": {
2929
"build": "rm -rf dist && bun build src/index.ts --outdir ./dist --target bun --minify --external elysia && tsc",
30+
"clean": "rm -rf dist example/node_modules",
3031
"format": "prettier --write '**/*.ts' --ignore-path .gitignore",
31-
"pretest": "bun install && bun run build && cd example && bun install",
32+
"pretest": "bun run clean && bun install && bun run build && cd example && bun install",
3233
"test": "bun test",
3334
"test:unit": "bun test tests/unit",
3435
"test:e2e": "bun test tests/e2e",

0 commit comments

Comments
 (0)