Skip to content

Commit edeef97

Browse files
jeswrCopilot
andauthored
chore: update build:test script to clean dist directory (#71)
* chore: update build:test script to clean dist directory before compilation * use rimraf Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 5974a7b commit edeef97

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
"scripts": {
1919
"start": "npm test",
20-
"build:test": "tsc && tsc -p test",
20+
"build:test": "rimraf dist test/dist && tsc && tsc -p test",
2121
"test": "npm run build:test && node --experimental-test-coverage --test \"**/*.test.js\""
2222
},
2323
"keywords": [
@@ -40,7 +40,8 @@
4040
"@types/n3": "^1",
4141
"n3": "^2",
4242
"typedoc": "^0.28.18",
43-
"typedoc-plugin-mdn-links": "^5.1.1"
43+
"typedoc-plugin-mdn-links": "^5.1.1",
44+
"rimraf": "^6.0.1"
4445
},
4546
"engines": {
4647
"node": ">=24.0.0"

0 commit comments

Comments
 (0)