|
17 | 17 | "dev": "vp run --filter @blocknote/example-editor dev", |
18 | 18 | "dev:docs": "vp run --filter docs dev", |
19 | 19 | "build": "vp run -r build", |
20 | | - "build:clean": "pnpm run clean && pnpm run gen && pnpm run clean && pnpm run build", |
| 20 | + "build:clean": "vp run clean && vp run gen && vp run clean && vp run build", |
21 | 21 | "build:site": "vp run -r build:site", |
22 | 22 | "clean": "vp run -r clean", |
23 | 23 | "deploy": "nx release --skip-publish", |
24 | 24 | "gen": "vp run --filter @blocknote/dev-scripts gen", |
25 | | - "install-playwright": "cd tests && pnpm exec playwright install --with-deps", |
26 | | - "e2e": "concurrently --success=first -r --kill-others \"pnpm run start -L\" \"wait-on http://localhost:3000 && cd tests && pnpm exec playwright test $PLAYWRIGHT_CONFIG\"", |
27 | | - "e2e:updateSnaps": "concurrently --success=first -r --kill-others \"pnpm run start -L\" \"wait-on http://localhost:3000 && cd tests && pnpm run test:updateSnaps\"", |
| 25 | + "install-playwright": "cd tests && vp exec playwright install --with-deps", |
| 26 | + "e2e": "concurrently --success=first -r --kill-others \"vp run start\" \"wait-on http://localhost:3000 && cd tests && vp exec playwright test $PLAYWRIGHT_CONFIG\"", |
| 27 | + "e2e:updateSnaps": "concurrently --success=first -r --kill-others \"vp run start\" \"wait-on http://localhost:3000 && cd tests && vp run test:updateSnaps\"", |
28 | 28 | "lint": "vp lint", |
29 | 29 | "postpublish": "rm -rf packages/core/README.md && rm -rf packages/react/README.md", |
30 | 30 | "prebuild": "cp README.md packages/core/README.md && cp README.md packages/react/README.md", |
31 | | - "prestart": "pnpm run build", |
32 | | - "start": "vp preview --filter playground", |
| 31 | + "prestart": "vp run build", |
| 32 | + "start": "vp preview playground --port 3000", |
33 | 33 | "test": "vp run -r test", |
34 | 34 | "format": "vp fmt", |
35 | 35 | "prepare": "vp config" |
|
0 commit comments