From fd97ca845e75722b6a7f107626d8399510c4b94a Mon Sep 17 00:00:00 2001 From: Rain <958414905@qq.com> Date: Thu, 28 Sep 2023 11:28:42 +0800 Subject: [PATCH] chore(e2e): better scripts --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index b06ac8ed3..59d364442 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",