forked from TypeCellOS/BlockNote
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
39 lines (39 loc) · 1.71 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"name": "root",
"private": true,
"workspaces": [
"packages/*",
"examples/*"
],
"devDependencies": {
"@playwright/experimental-ct-react": "^1.33.0",
"@playwright/test": "^1.33.0",
"eslint": "^8.22.0",
"lerna": "^5.4.0",
"patch-package": "^6.4.7",
"typescript": "^5.0.4"
},
"scripts": {
"start": "lerna run --stream --scope @blocknote/example-editor dev",
"start:built": "npx serve examples/editor/dist",
"test:updateSnaps": "docker run --rm -e RUN_IN_DOCKER=true --network host -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.33.0-focal npx playwright test -u",
"build": "lerna run --stream build --concurrency 1",
"build:site": "lerna run --stream docs:build --concurrency 1",
"lint": "lerna run --stream lint",
"bootstrap": "lerna bootstrap --ci -- --force && patch-package",
"install-new-packages": "lerna bootstrap -- --force && patch-package",
"playwright": "npx playwright test",
"test": "lerna run --stream test",
"install-playwright": "npx playwright install --with-deps",
"deploy": "lerna publish -- --access public",
"prepublishOnly": "npm run build && cp README.md packages/core/README.md && cp README.md packages/react/README.md",
"postpublish": "rm -rf packages/core/README.md && rm -rf packages/react/README.md",
"test-ct": "playwright test -c playwright-ct.config.ts --headed",
"test-ct:updateSnaps": "docker run --rm -e RUN_IN_DOCKER=true --network host -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.33.0-focal npm install && playwright test -c playwright-ct.config.ts -u"
},
"overrides": {
"react": "18.2.0",
"react-dom": "18.2.0",
"prosemirror-model": "1.18.3"
}
}