Skip to content

Commit 608ccfc

Browse files
authored
clean build folder on build (#25)
1 parent 4105ca0 commit 608ccfc

2 files changed

Lines changed: 22 additions & 1 deletion

File tree

package-lock.json

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"node": ">=20.0.0"
1111
},
1212
"scripts": {
13-
"build": "tsc",
13+
"build": "rimraf dist/ && tsc",
1414
"start": "ts-node src/index.ts",
1515
"prepublishOnly": "npm run build",
1616
"test": "jest --config jest.config.js",
@@ -28,6 +28,7 @@
2828
"@types/node": "^22",
2929
"jest": "^29.7.0",
3030
"prettier": "^3.5.3",
31+
"rimraf": "^6.0.1",
3132
"ts-jest": "^29.3.2",
3233
"ts-node": "^10.9.2",
3334
"typescript": "^5.8.3"

0 commit comments

Comments
 (0)