forked from TypeCellOS/BlockNote
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 2.29 KB
/
package.json
File metadata and controls
93 lines (93 loc) · 2.29 KB
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
{
"name": "@blocknote/react",
"homepage": "https://github.com/TypeCellOS/BlockNote",
"private": false,
"sideEffects": [
"*.css"
],
"license": "MPL-2.0",
"version": "0.22.0",
"files": [
"dist",
"types",
"src"
],
"keywords": [
"react",
"javascript",
"editor",
"typescript",
"prosemirror",
"wysiwyg",
"rich-text-editor",
"notion",
"yjs",
"block-based",
"tiptap"
],
"description": "A \"Notion-style\" block-based extensible text editor built on top of Prosemirror and Tiptap.",
"type": "module",
"source": "src/index.ts",
"types": "./types/src/index.d.ts",
"main": "./dist/blocknote-react.umd.cjs",
"module": "./dist/blocknote-react.js",
"exports": {
".": {
"types": "./types/src/index.d.ts",
"import": "./dist/blocknote-react.js",
"require": "./dist/blocknote-react.umd.cjs"
},
"./style.css": {
"import": "./dist/style.css",
"require": "./dist/style.css"
}
},
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"lint": "eslint src --max-warnings 0",
"test": "vitest --run",
"test:watch": "vitest --watch",
"clean": "rimraf dist && rimraf types"
},
"dependencies": {
"@blocknote/core": "^0.22.0",
"@floating-ui/react": "^0.26.4",
"@tiptap/core": "^2.7.1",
"@tiptap/react": "^2.7.1",
"lodash.merge": "^4.6.2",
"react-icons": "^5.2.1"
},
"devDependencies": {
"@types/lodash.foreach": "^4.5.9",
"@types/lodash.groupby": "^4.6.9",
"@types/lodash.merge": "^4.6.9",
"@types/react": "^18.0.25",
"@types/react-dom": "^18.0.9",
"@vitejs/plugin-react": "^4.3.1",
"eslint": "^8.10.0",
"prettier": "^2.7.1",
"rimraf": "^5.0.5",
"rollup-plugin-webpack-stats": "^0.2.2",
"typescript": "^5.3.3",
"vite": "^5.3.4",
"vite-plugin-eslint": "^1.8.1",
"vite-plugin-externalize-deps": "^0.8.0",
"vitest": "^2.0.3"
},
"peerDependencies": {
"react": "^18.0 || ^19.0 || >= 19.0.0-rc",
"react-dom": "^18.0 || ^19.0 || >= 19.0.0-rc"
},
"eslintConfig": {
"extends": [
"../../.eslintrc.js"
]
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"gitHead": "d5e8c96e2ad5f6832da60bc3c9acd3f6c16c25c5"
}