forked from toeverything/blocksuite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
136 lines (136 loc) · 5.66 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
{
"name": "blocksuite",
"version": "0.15.0",
"private": true,
"type": "module",
"engines": {
"node": ">=18.19.0 <21.0.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",
"lint:fix": "pnpm lint --fix",
"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",
"test:type": "tsc -p tests/tsconfig.json",
"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:update": "playwright test --update-snapshots",
"test:headed": "playwright test --debug",
"test:store": "pnpm --filter @blocksuite/store test",
"test:inline": "pnpm --filter @blocksuite/inline test",
"test:integration": "pnpm --filter @blocksuite/presets 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:packages && pnpm build:playground",
"build:packages": "pnpm --filter=@blocksuite/presets build",
"build:playground": "pnpm --filter @blocksuite/playground build",
"build:docs": "pnpm --filter @blocksuite/docs build",
"size:data": "node --loader ts-node/esm ./scripts/size-data.ts",
"size:report": "node --loader ts-node/esm ./scripts/size-report.ts",
"size:generate": "./scripts/size-generate.sh",
"clean": "./scripts/clean.sh",
"release-note:draft": "node --loader ts-node/esm ./scripts/release-note/convert.ts",
"release-note:notable": "node ./scripts/release-note/notable-prs.mjs",
"postinstall": "husky"
},
"lint-staged": {
"*": "pnpm exec prettier --write --cache --ignore-unknown",
"!(examples/**/*).{ts,tsx,js,jsx}": "pnpm exec eslint --cache --fix"
},
"keywords": [],
"author": "toeverything",
"license": "MPL-2.0",
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@open-wc/dev-server-hmr": "^0.2.0",
"@playwright/test": "1.45.3",
"@stylistic/eslint-plugin-ts": "^2.4.0",
"@types/jscodeshift": "^0.11.11",
"@types/node": "^22.0.0",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@vitest/browser": "2.0.4",
"@vitest/coverage-istanbul": "2.0.4",
"@vitest/ui": "2.0.4",
"es-module-lexer": "^1.5.4",
"esbuild": "^0.23.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-lit": "^1.14.0",
"eslint-plugin-perfectionist": "^2.11.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-unicorn": "^55.0.0",
"eslint-plugin-unused-imports": "^4.0.1",
"eslint-plugin-wc": "^2.1.0",
"happy-dom": "^14.12.3",
"husky": "^9.1.4",
"inquirer": "^10.1.5",
"jscodeshift": "^0.16.1",
"lint-staged": "^15.2.7",
"lit-analyzer": "2.0.3",
"lz-string": "^1.5.0",
"madge": "^7.0.0",
"markdown-table": "^3.0.3",
"micromatch": "^4.0.7",
"nyc": "^17.0.0",
"prettier": "^3.3.3",
"pretty-bytes": "^6.1.1",
"pretty-format": "^29.7.0",
"rollup": "^4.19.1",
"simple-git": "^3.25.0",
"terser": "^5.31.3",
"ts-lit-plugin": "^2.0.2",
"ts-node": "^10.9.2",
"typescript": "5.5.4",
"vite": "5.3.5",
"vite-plugin-istanbul": "^6.0.2",
"vite-plugin-web-components-hmr": "^0.1.3",
"vitest": "2.0.4"
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"@algolia/client-search"
]
},
"overrides": {
"esbuild": "npm:esbuild@latest",
"array-includes": "npm:@nolyfill/array-includes@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",
"deep-equal": "npm:@nolyfill/deep-equal@latest",
"es-iterator-helpers": "npm:@nolyfill/es-iterator-helpers@latest",
"has-tostringtag": "npm:@nolyfill/has-tostringtag@latest",
"object.assign": "npm:@nolyfill/object.assign@latest",
"object.entries": "npm:@nolyfill/object.entries@latest",
"object.fromentries": "npm:@nolyfill/object.fromentries@latest",
"object.hasown": "npm:@nolyfill/object.hasown@latest",
"object.values": "npm:@nolyfill/object.values@latest",
"string.prototype.matchall": "npm:@nolyfill/string.prototype.matchall@latest",
"has": "npm:@nolyfill/has@latest",
"is-generator-function": "npm:@nolyfill/is-generator-function@latest",
"function-bind": "npm:@nolyfill/function-bind@latest",
"gopd": "npm:@nolyfill/gopd@latest",
"has-property-descriptors": "npm:@nolyfill/has-property-descriptors@latest",
"has-proto": "npm:@nolyfill/has-proto@latest",
"has-symbols": "npm:@nolyfill/has-symbols@latest",
"hasown": "npm:@nolyfill/hasown@latest",
"isarray": "npm:@nolyfill/isarray@latest",
"set-function-length": "npm:@nolyfill/set-function-length@latest"
},
"patchedDependencies": {
"@lit-labs/[email protected]": "patches/@[email protected]"
}
},
"stackblitz": {
"startCommand": "pnpm run dev"
}
}