forked from toeverything/blocksuite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
96 lines (96 loc) 路 3.12 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"name": "blocksuite",
"version": "0.5.0-alpha.1",
"//": "ALL_PACKAGES",
"workspaces": [
"packages/blocks",
"packages/docs",
"packages/editor",
"packages/global",
"packages/phasor",
"packages/playground",
"packages/react",
"packages/store",
"packages/virgo"
],
"private": true,
"type": "module",
"engines": {
"node": ">=16.9.0"
},
"packageManager": "pnpm@8.0.0",
"scripts": {
"serve": "pnpm --filter @blocksuite/store serve",
"preview": "run-p serve preview:playground",
"preview:playground": "pnpm --filter @blocksuite/playground preview",
"dev": "run-p serve dev:playground",
"dev:playground": "pnpm --filter @blocksuite/playground dev",
"dev:docs": "pnpm --filter @blocksuite/docs dev",
"lint": "eslint --cache --cache-location=node_modules/.cache/.eslintcache/ ./ --max-warnings=0",
"test": "playwright test",
"coverage:report": "nyc report -t .nyc_output --report-dir .coverage --reporter=html",
"test:unit": "pnpm -r test:unit",
"test:unit:coverage": "pnpm -r test:unit:coverage",
"test:headed": "playwright test --headed",
"test:store": "pnpm --filter @blocksuite/store test",
"test:virgo": "pnpm --filter @blocksuite/virgo test",
"format": "prettier --write --cache packages tests",
"build": "pnpm -r build",
"build:playground": "pnpm --filter @blocksuite/playground build",
"clean": "./scripts/clean.sh",
"preinstall": "npx only-allow pnpm",
"postinstall": "husky install"
},
"lint-staged": {
"*": "prettier --write --cache --ignore-unknown",
"*.{ts,tsx,js,jsx}": "npx eslint --cache --fix"
},
"keywords": [],
"author": "toeverything",
"license": "MPL-2.0",
"devDependencies": {
"@blocksuite/blocks": "workspace:*",
"@blocksuite/global": "workspace:*",
"@blocksuite/store": "workspace:*",
"@blocksuite/virgo": "workspace:*",
"@commitlint/cli": "^17.4.4",
"@commitlint/config-conventional": "^17.4.4",
"@open-wc/dev-server-hmr": "^0.1.4",
"@playwright/test": "^1.31.2",
"@types/node": "^18.15.3",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"@vitejs/plugin-react": "^3.1.0",
"@vitest/coverage-istanbul": "^0.28.5",
"@vitest/ui": "^0.28.5",
"es-module-lexer": "^1.2.0",
"eslint": "^8.36.0",
"eslint-plugin-lit": "^1.8.2",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-wc": "^1.4.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.0",
"micromatch": "^4.0.5",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"prettier": "^2.8.4",
"pretty-format": "^29.5.0",
"typescript": "^5.0.2",
"vite": "^4.2.0",
"vite-plugin-istanbul": "^4.0.1",
"vite-plugin-web-components-hmr": "^0.1.3",
"vitest": "^0.28.5"
},
"pnpm": {
"patchedDependencies": {
"hotkeys-js@3.10.1": "patches/hotkeys-js@3.10.1.patch"
}
},
"stackblitz": {
"startCommand": "pnpm --filter='./packages/playground' run dev"
}
}