mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-14 00:26:51 +08:00
test: support e2e in storybook (#1533)
This commit is contained in:
+9
-5
@@ -11,15 +11,17 @@
|
||||
],
|
||||
"scripts": {
|
||||
"dev": "dev-web",
|
||||
"dev:ac": "NODE_API_SERVER=ac yarn workspace @affine/app dev",
|
||||
"dev:local": "NODE_API_SERVER=local yarn workspace @affine/app dev",
|
||||
"dev:ac": "NODE_API_SERVER=ac yarn workspace @affine/web dev",
|
||||
"dev:local": "NODE_API_SERVER=local yarn workspace @affine/web dev",
|
||||
"dev:app": "yarn workspace @affine/electron dev:app",
|
||||
"build": "yarn workspace @affine/app build",
|
||||
"build": "yarn workspace @affine/web build",
|
||||
"build:client": "yarn workspace @affine/client-app build:app",
|
||||
"build:storybook": "yarn workspace @affine/component build-storybook",
|
||||
"bump:nightly": "./scripts/bump-blocksuite.sh",
|
||||
"export": "yarn workspace @affine/app export",
|
||||
"start": "yarn workspace @affine/app start",
|
||||
"export": "yarn workspace @affine/web export",
|
||||
"start": "yarn workspace @affine/web start",
|
||||
"start:storybook": "yarn exec serve packages/component/storybook-static -l 6006",
|
||||
"start:e2e": "yar dlx run-p start start:storybook",
|
||||
"lint": "eslint . --ext .js,mjs,.ts,.tsx",
|
||||
"lint:fix": "yarn lint --fix",
|
||||
"test": "playwright test",
|
||||
@@ -64,8 +66,10 @@
|
||||
"prettier": "^2.8.5",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"serve": "^14.2.0",
|
||||
"typescript": "^5.0.2",
|
||||
"vite": "^4.2.0",
|
||||
"vite-plugin-istanbul": "^4.0.1",
|
||||
"vitest": "^0.29.3",
|
||||
"vitest-fetch-mock": "^0.2.2"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user