diff --git a/package.json b/package.json index b06ac8ed31..59d364442c 100644 --- a/package.json +++ b/package.json @@ -25,9 +25,9 @@ "tar": "nocobase tar", "test": "nocobase test", "test:client": "vitest", - "test:e2e": "ts-node-dev ./scripts/runE2e.setup.ts", - "test:codegen": "ts-node-dev ./scripts/codegen.setup.ts", - "test:server": "ts-node-dev ./scripts/nocobase.setup.ts", + "test:e2e": "tsx ./scripts/runE2e.setup.ts", + "test:e2e:codegen": "tsx ./scripts/codegen.setup.ts", + "test:e2e:server": "tsx ./scripts/nocobase.setup.ts", "tc": "yarn test:client", "doc": "nocobase doc", "postinstall": "nocobase postinstall", @@ -37,7 +37,7 @@ "version:alpha": "lerna version prerelease --preid alpha --force-publish=* --no-git-tag-version -m \"chore(versions): publish packages %s\"", "release:force": "lerna publish from-package --yes", "release": "lerna publish", - "run:example": "ts-node-dev -r dotenv/config -r tsconfig-paths/register ./examples/index.ts" + "run:example": "tsx -r dotenv/config -r tsconfig-paths/register ./examples/index.ts" }, "resolutions": { "@types/react": "^17.0.0",