Skip to content

Commit 8782e3a

Browse files
committed
build: add scripts to clean and build with clean first
1 parent a35a9fb commit 8782e3a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

package.json

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
"format:file": "prettier --write",
2020
"build": "tsc",
2121
"build:check": "tsc --noEmit",
22+
"build:clean-first": "run-s clean build",
23+
"clean": "rm -rf ./dist",
2224
"test": "jest",
2325
"test:ci": "jest --ci --verbose",
2426
"test:staged": "jest --passWithNoTests --findRelatedTests $(git diff --staged --name-only)"

0 commit comments

Comments
 (0)