Skip to content

Commit 724f7a4

Browse files
committed
Add rimraf
1 parent 696af3e commit 724f7a4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"dist"
2222
],
2323
"scripts": {
24-
"build": "tsc -p ./tsconfig.build.json",
24+
"build": "rimraf dist && tsc -p ./tsconfig.build.json",
2525
"example:run": "vite example",
2626
"lint": "tsc --noEmit && prettier --check src example/src && eslint src example/src",
2727
"lint:fix": "prettier --write src example/src && eslint src example/src",
@@ -88,6 +88,7 @@
8888
"prettier": "^2.3.1",
8989
"react": "^17.0.2",
9090
"react-dom": "^17.0.0",
91+
"rimraf": "^3.0.2",
9192
"ts-node": "^10.0.0",
9293
"typescript": "^4.3.4",
9394
"vite": "^2.3.8"

0 commit comments

Comments
 (0)