forked from toeverything/blocksuite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
143 lines (143 loc) · 6.24 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
{
"name": "blocksuite",
"version": "0.7.0",
"//": "ALL_PACKAGES",
"workspaces": [
"packages/block-std",
"packages/blocks",
"packages/docs",
"packages/editor",
"packages/global",
"packages/lit",
"packages/phasor",
"packages/playground",
"packages/store",
"packages/virgo"
],
"private": true,
"type": "module",
"engines": {
"node": ">=16.9.0"
},
"packageManager": "[email protected]",
"scripts": {
"preview": "pnpm --filter @blocksuite/playground preview",
"dev": "pnpm --filter @blocksuite/playground dev",
"dev:docs": "pnpm --filter @blocksuite/docs dev",
"lint": "eslint --cache --cache-location=node_modules/.cache/.eslintcache/ ./ --max-warnings=0",
"lit-lint": "pnpm lit-analyzer --strict=false --rules.no-incompatible-property-type=error --rules.no-incompatible-type-binding=off --rules.no-invalid-css=off --rules.no-invalid-tag-name=off \"packages/**/*.ts\"",
"test": "playwright test",
"coverage:report": "nyc report -t .nyc_output --report-dir .coverage --reporter=html",
"circular": "madge --circular ./packages/*/dist/index.js",
"test:unit": "pnpm -r test:unit",
"test:unit:coverage": "pnpm -r test:unit:coverage",
"test:headed": "playwright test --debug",
"test:store": "pnpm --filter @blocksuite/store test",
"test:virgo": "pnpm --filter @blocksuite/virgo test",
"test:node": "node --experimental-specifier-resolution=node --loader ts-node/esm ./scripts/node-import-test.ts",
"format": "prettier --write --cache packages tests",
"build": "pnpm build:editor && pnpm build:playground && pnpm build:docs",
"build:editor": "pnpm --filter @blocksuite/editor build",
"build:playground": "pnpm --filter @blocksuite/playground build",
"build:docs": "pnpm --filter @blocksuite/docs build",
"clean": "./scripts/clean.sh",
"release-note:draft": "node --loader ts-node/esm ./scripts/release-note/convert.ts",
"release-note:validate": "node --loader ts-node/esm ./scripts/release-note/validate.ts",
"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": {
"@commitlint/cli": "^17.6.7",
"@commitlint/config-conventional": "^17.6.7",
"@open-wc/dev-server-hmr": "^0.1.4",
"@playwright/test": "^1.36.2",
"@types/node": "^18.17.1",
"@types/react": "^18.2.17",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"@vitejs/plugin-react": "^3.1.0",
"@vitest/coverage-istanbul": "^0.28.5",
"@vitest/ui": "^0.28.5",
"es-module-lexer": "^1.3.0",
"eslint": "^8.46.0",
"eslint-plugin-lit": "^1.8.3",
"eslint-plugin-react": "^7.33.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-wc": "^1.5.0",
"happy-dom": "^9.20.3",
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"lit-analyzer": "2.0.0-pre.3",
"madge": "^6.1.0",
"micromatch": "^4.0.5",
"nyc": "^15.1.0",
"prettier": "^2.8.8",
"pretty-format": "^29.6.2",
"ts-lit-plugin": "^1.2.1",
"ts-node": "^10.9.1",
"typescript": "^5.1.6",
"vite": "^4.4.7",
"vite-plugin-istanbul": "^4.1.0",
"vite-plugin-web-components-hmr": "^0.1.3",
"vitest": "^0.28.5"
},
"resolutions": {
"typescript": "^5",
"array-buffer-byte-length": "npm:@nolyfill/array-buffer-byte-length@latest",
"array-includes": "npm:@nolyfill/array-includes@latest",
"array.from": "npm:@nolyfill/array.from@latest",
"array.prototype.find": "npm:@nolyfill/array.prototype.find@latest",
"array.prototype.findlastindex": "npm:@nolyfill/array.prototype.findlastindex@latest",
"array.prototype.flat": "npm:@nolyfill/array.prototype.flat@latest",
"array.prototype.flatmap": "npm:@nolyfill/array.prototype.flatmap@latest",
"array.prototype.tosorted": "npm:@nolyfill/array.prototype.tosorted@latest",
"arraybuffer.prototype.slice": "npm:@nolyfill/arraybuffer.prototype.slice@latest",
"function-bind": "npm:@nolyfill/function-bind@latest",
"function.prototype.name": "npm:@nolyfill/function.prototype.name@latest",
"get-symbol-description": "npm:@nolyfill/get-symbol-description@latest",
"globalthis": "npm:@nolyfill/globalthis@latest",
"gopd": "npm:@nolyfill/gopd@latest",
"has": "npm:@nolyfill/has@latest",
"has-property-descriptors": "npm:@nolyfill/has-property-descriptors@latest",
"has-proto": "npm:@nolyfill/has-proto@latest",
"is-array-buffer": "npm:@nolyfill/is-array-buffer@latest",
"is-shared-array-buffer": "npm:@nolyfill/is-shared-array-buffer@latest",
"object-keys": "npm:@nolyfill/object-keys@latest",
"object.assign": "npm:@nolyfill/object.assign@latest",
"object.entries": "npm:@nolyfill/object.entries@latest",
"object.fromentries": "npm:@nolyfill/object.fromentries@latest",
"object.groupby": "npm:@nolyfill/object.groupby@latest",
"object.hasown": "npm:@nolyfill/object.hasown@latest",
"object.values": "npm:@nolyfill/object.values@latest",
"regexp.prototype.flags": "npm:@nolyfill/regexp.prototype.flags@latest",
"string.prototype.matchall": "npm:@nolyfill/string.prototype.matchall@latest",
"string.prototype.trim": "npm:@nolyfill/string.prototype.trim@latest",
"string.prototype.trimend": "npm:@nolyfill/string.prototype.trimend@latest",
"string.prototype.trimleft": "npm:@nolyfill/string.prototype.trimleft@latest",
"string.prototype.trimright": "npm:@nolyfill/string.prototype.trimright@latest",
"string.prototype.trimstart": "npm:@nolyfill/string.prototype.trimstart@latest",
"typed-array-buffer": "npm:@nolyfill/typed-array-buffer@latest",
"typed-array-byte-length": "npm:@nolyfill/typed-array-byte-length@latest",
"typed-array-byte-offset": "npm:@nolyfill/typed-array-byte-offset@latest",
"typed-array-length": "npm:@nolyfill/typed-array-length@latest"
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"@algolia/client-search"
]
}
},
"stackblitz": {
"startCommand": "pnpm --filter='./packages/playground' run dev"
}
}