Skip to content

Commit ee09703

Browse files
committed
chore!: switch to tsx to support ts out of the box
1 parent 282065b commit ee09703

File tree

2 files changed

+277
-118
lines changed

2 files changed

+277
-118
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
"@vitest/coverage-v8": "^2.0.5",
77
"nodemon": "^3.1.4",
88
"prettier": "3.3.3",
9-
"ts-node": "^10.9.2",
9+
"tsx": "^4.19.0",
1010
"typescript": "^5.5.4",
1111
"vitest": "^2.0.5"
1212
},
1313
"scripts": {
14-
"start": "pnpm ts-node src/index.ts",
15-
"dev": "pnpm nodemon src/index.ts",
14+
"start": "pnpm tsx src/index.ts",
15+
"dev": "pnpm tsx watch src/index.ts",
1616
"build": "tsc --build tsconfig.build.json",
1717
"test": "vitest",
1818
"coverage": "vitest run --coverage"

0 commit comments

Comments
 (0)