From fe2b50ca0aa17027fcb393c270ddf3bd769f943f Mon Sep 17 00:00:00 2001 From: Maiko Tan Date: Sat, 17 Feb 2024 23:13:19 +0800 Subject: [PATCH] fix --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 1637af5..d1e9325 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "build": "yarn build:tsup --minify", "dev": "yarn build:tsup", "build:tsup": "tsup", - "test": "mocha -r ts-node/register -r yml-register --extension .spec.ts ./__tests__", + "test": "mocha -r tsx -r yml-register --extension .spec.ts ./__tests__", "lint": "eslint src/**/*.ts && yarn prettier --check", "format": "yarn prettier --write", "prettier": "prettier '**/*.{js,ts,json,yml,yaml,md}' '!lib/**/*'" @@ -91,9 +91,9 @@ "koishi": "^4.8.2", "mocha": "^9.2.0", "prettier": "^2.7.1", - "ts-node": "^10.8.1", "tsup": "^8.0.1", - "typescript": "^4.7.3", + "tsx": "^4.7.1", + "typescript": "^5.3.3", "yml-register": "^1.1.0" } }