chore: use tsx instead of ts-node

This commit is contained in:
afiqzudinhadi 2024-07-13 00:26:12 +08:00
parent ebbbaee67d
commit 68f2c93907
2 changed files with 451 additions and 162 deletions

View file

@ -4,8 +4,7 @@
"description": "",
"main": "index.ts",
"scripts": {
"index": "ts-node src/index.ts",
"test": "echo \"Error: no test specified\" && exit 1"
"index": "tsx src/index.ts"
},
"author": "afiqzudinhadi",
"license": "ISC",
@ -14,8 +13,8 @@
},
"devDependencies": {
"@types/node": "^20.14.8",
"ts-node": "^10.9.2",
"tsx": "^4.16.2",
"typescript": "^5.5.2"
},
"type": "module"
}
}