mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 06:55:50 +00:00
chore(e2e): better scripts
This commit is contained in:
parent
dbdd587b71
commit
fd97ca845e
@ -25,9 +25,9 @@
|
|||||||
"tar": "nocobase tar",
|
"tar": "nocobase tar",
|
||||||
"test": "nocobase test",
|
"test": "nocobase test",
|
||||||
"test:client": "vitest",
|
"test:client": "vitest",
|
||||||
"test:e2e": "ts-node-dev ./scripts/runE2e.setup.ts",
|
"test:e2e": "tsx ./scripts/runE2e.setup.ts",
|
||||||
"test:codegen": "ts-node-dev ./scripts/codegen.setup.ts",
|
"test:e2e:codegen": "tsx ./scripts/codegen.setup.ts",
|
||||||
"test:server": "ts-node-dev ./scripts/nocobase.setup.ts",
|
"test:e2e:server": "tsx ./scripts/nocobase.setup.ts",
|
||||||
"tc": "yarn test:client",
|
"tc": "yarn test:client",
|
||||||
"doc": "nocobase doc",
|
"doc": "nocobase doc",
|
||||||
"postinstall": "nocobase postinstall",
|
"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\"",
|
"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:force": "lerna publish from-package --yes",
|
||||||
"release": "lerna publish",
|
"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": {
|
"resolutions": {
|
||||||
"@types/react": "^17.0.0",
|
"@types/react": "^17.0.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user