Skip to content

Commit 382fe5d

Browse files
committed
use TSX
1 parent 51e403f commit 382fe5d

File tree

7 files changed

+293
-137
lines changed

7 files changed

+293
-137
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@
4747
"build": "tsc -p .",
4848
"lint": "eslint ./ --ext .ts",
4949
"format": "eslint ./ --ext .ts --fix",
50-
"test": "mocha -r ts-node/register --reporter spec --colors test/**/*.ts",
51-
"test2": "mocha -r ts-node/register --reporter spec --colors test/adb/thirdparty/**/*.ts",
52-
"test3": "mocha -r ts-node/register --reporter spec --colors test/adb/command/host-transport/serviceCall.ts",
50+
"test": "mocha -r tsx --reporter spec --colors test/**/*.ts",
51+
"test2": "mocha -r tsx --reporter spec --colors test/adb/thirdparty/**/*.ts",
52+
"test3": "mocha -r tsx --reporter spec --colors test/adb/command/host-transport/serviceCall.ts",
5353
"ncu": "npx npm-check-updates -i"
5454
},
5555
"dependencies": {
@@ -83,7 +83,7 @@
8383
"rimraf": "^6.0.1",
8484
"sinon": "~19.0.2",
8585
"sinon-chai": "~4.0.0",
86-
"ts-node": "^10.9.2",
86+
"tsx": "^4.19.2",
8787
"typedoc": "^0.26.11",
8888
"typedoc-plugin-rename-defaults": "^0.7.1",
8989
"typescript": "5.6.3",

0 commit comments

Comments
 (0)