-
-
Notifications
You must be signed in to change notification settings - Fork 420
/
package.json
132 lines (132 loc) · 4.96 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
{
"name": "blocksuite",
"version": "0.16.0",
"private": true,
"type": "commonjs",
"engines": {
"node": ">=18.19.0 <21.0.0"
},
"nx": {},
"packageManager": "[email protected]",
"workspaces": [
"tests",
"packages/*",
"packages/*/*"
],
"scripts": {
"preview": "yarn workspace @blocksuite/playground preview",
"dev": "yarn workspace @blocksuite/playground dev",
"dev:docs": "yarn workspace @blocksuite/docs dev",
"lint": "eslint --cache --cache-location=node_modules/.cache/.eslintcache/ ./ --max-warnings=0",
"lint:fix": "yarn lint --fix",
"lint:lit": "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\"",
"lint:circular": "madge --circular ./packages/**/*/dist/index.js",
"lint:format": "prettier . --check",
"coverage:report": "nyc report -t .nyc_output --report-dir .coverage --reporter=html",
"test": "yarn workspace @blocksuite/e2e exec playwright test",
"test:type": "tsc -p tests/tsconfig.json",
"test:unit": "vitest",
"test:update": "playwright test --update-snapshots",
"test:node": "tsx ./scripts/node-import-test.ts",
"format": "prettier . --write",
"build": "yarn build:packages && yarn build:playground",
"build:packages": "yarn workspace @blocksuite/affine build",
"build:playground": "yarn workspace @blocksuite/playground build",
"build:docs": "yarn workspace @blocksuite/docs build",
"size:generate": "./scripts/size-generate.sh",
"ci:version": "changeset version && yarn install --no-frozen-lockfile",
"ci:publish": "yarn build:packages && yarn workspaces foreach -Ap --no-private npm publish --tolerate-republish --access public --tag latest",
"ci:version:canary": "changeset version --snapshot canary && yarn install --no-frozen-lockfile",
"ci:publish:canary": "yarn build:packages && yarn workspaces foreach -Ap --no-private npm publish --access public --tag canary",
"postinstall": "husky",
"changeset": "changeset && node scripts/changelog.mjs"
},
"lint-staged": {
"*": [
"yarn exec eslint --no-warn-ignored --cache --fix",
"yarn exec prettier --write -u --cache"
]
},
"keywords": [],
"author": "toeverything",
"license": "MPL-2.0",
"devDependencies": {
"@changesets/cli": "^2.27.7",
"@commitlint/cli": "^19.4.0",
"@commitlint/config-conventional": "^19.2.2",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.9.1",
"@nx/vite": "20.0.5",
"@open-wc/dev-server-hmr": "^0.2.0",
"@playwright/test": "1.48.1",
"@size-limit/preset-small-lib": "^11.1.4",
"@stylistic/eslint-plugin-ts": "^2.4.0",
"@swc-node/register": "^1.10.9",
"@swc/core": "^1.7.14",
"@types/jscodeshift": "^0.12.0",
"@types/node": "^22.5.0",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"@vitest/browser": "2.1.3",
"@vitest/coverage-istanbul": "2.1.3",
"@vitest/ui": "2.1.3",
"es-module-lexer": "^1.5.4",
"esbuild": "^0.24.0",
"eslint": "^9.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-import-x": "^4.2.1",
"eslint-plugin-lit": "^1.14.0",
"eslint-plugin-perfectionist": "^3.0.0",
"eslint-plugin-unicorn": "^56.0.0",
"eslint-plugin-unused-imports": "^4.0.1",
"eslint-plugin-wc": "^2.1.0",
"globals": "^15.9.0",
"happy-dom": "^15.0.0",
"husky": "^9.1.5",
"jscodeshift": "^17.0.0",
"lint-staged": "^15.2.9",
"lit-analyzer": "2.0.3",
"lz-string": "^1.5.0",
"madge": "^8.0.0",
"markdown-table": "^3.0.3",
"micromatch": "^4.0.7",
"nx": "20.0.5",
"nyc": "^17.0.0",
"prettier": "^3.3.3",
"pretty-bytes": "^6.1.1",
"pretty-format": "^29.7.0",
"rollup": "^4.21.0",
"simple-git": "^3.25.0",
"size-limit": "^11.1.4",
"terser": "^5.31.6",
"ts-lit-plugin": "^2.0.2",
"tsx": "^4.19.0",
"typescript": "5.6.3",
"vite": "5.4.10",
"vite-plugin-istanbul": "^6.0.2",
"vite-plugin-web-components-hmr": "^0.1.3",
"vitest": "2.1.3"
},
"stackblitz": {
"startCommand": "yarn run dev"
},
"resolutions": {
"deep-equal": "npm:@nolyfill/deep-equal@^1",
"function-bind": "npm:@nolyfill/function-bind@^1",
"gopd": "npm:@nolyfill/gopd@^1",
"has-property-descriptors": "npm:@nolyfill/has-property-descriptors@^1",
"has-proto": "npm:@nolyfill/has-proto@^1",
"has-symbols": "npm:@nolyfill/has-symbols@^1",
"has-tostringtag": "npm:@nolyfill/has-tostringtag@^1",
"hasown": "npm:@nolyfill/hasown@^1",
"is-core-module": "npm:@nolyfill/is-core-module@^1",
"is-generator-function": "npm:@nolyfill/is-generator-function@^1",
"isarray": "npm:@nolyfill/isarray@^1",
"set-function-length": "npm:@nolyfill/set-function-length@^1",
"side-channel": "npm:@nolyfill/side-channel@^1"
},
"dependencies": {
"@size-limit/esbuild-why": "^11.1.5"
}
}