Skip to content

Commit 0663f6f

Browse files
authored
build: use jiti to execute TypeScript file (#828)
Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>
1 parent 94884e5 commit 0663f6f

2 files changed

Lines changed: 1 addition & 31 deletions

File tree

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
],
2424
"scripts": {
2525
"prepack": "tsc -p tsconfig.build.json",
26-
"start": "vite-node src/bin.ts",
26+
"start": "jiti src/bin.ts",
2727
"test": "vitest run"
2828
},
2929
"dependencies": {
@@ -40,7 +40,6 @@
4040
"prettier": "^3.5.3",
4141
"typescript": "^5.8.3",
4242
"typescript-eslint": "^8.34.0",
43-
"vite-node": "^3.2.3",
4443
"vitest": "^3.2.0"
4544
}
4645
}

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)