@lumir-company/editor 0.4.22 → 0.4.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1728 -1698
- package/dist/api/link-preview.js.map +1 -1
- package/dist/api/link-preview.mjs.map +1 -1
- package/dist/index.d.mts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +133 -28
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +123 -18
- package/dist/index.mjs.map +1 -1
- package/dist/style.css +1463 -1457
- package/package.json +103 -100
package/package.json
CHANGED
|
@@ -1,100 +1,103 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@lumir-company/editor",
|
|
3
|
-
"version": "0.4.
|
|
4
|
-
"private": false,
|
|
5
|
-
"description": "Image-only BlockNote rich text editor with S3 upload, customizable filename transforms, UUID support, and loading spinner",
|
|
6
|
-
"keywords": [
|
|
7
|
-
"editor",
|
|
8
|
-
"blocknote",
|
|
9
|
-
"rich-text",
|
|
10
|
-
"react",
|
|
11
|
-
"typescript",
|
|
12
|
-
"image-editor",
|
|
13
|
-
"wysiwyg",
|
|
14
|
-
"s3-upload",
|
|
15
|
-
"loading-spinner",
|
|
16
|
-
"filename-transform",
|
|
17
|
-
"uuid",
|
|
18
|
-
"file-upload",
|
|
19
|
-
"table",
|
|
20
|
-
"lumir"
|
|
21
|
-
],
|
|
22
|
-
"main": "dist/index.js",
|
|
23
|
-
"module": "dist/index.mjs",
|
|
24
|
-
"types": "dist/index.d.ts",
|
|
25
|
-
"engines": {
|
|
26
|
-
"node": ">=18"
|
|
27
|
-
},
|
|
28
|
-
"repository": {
|
|
29
|
-
"type": "git",
|
|
30
|
-
"url": "git+https://github.com/lumir-company/editor.git"
|
|
31
|
-
},
|
|
32
|
-
"homepage": "https://github.com/lumir-company/editor#readme",
|
|
33
|
-
"bugs": {
|
|
34
|
-
"url": "https://github.com/lumir-company/editor/issues"
|
|
35
|
-
},
|
|
36
|
-
"exports": {
|
|
37
|
-
".": {
|
|
38
|
-
"types": "./dist/index.d.ts",
|
|
39
|
-
"import": "./dist/index.mjs",
|
|
40
|
-
"require": "./dist/index.js"
|
|
41
|
-
},
|
|
42
|
-
"./style.css": "./dist/style.css",
|
|
43
|
-
"./api/link-preview": {
|
|
44
|
-
"types": "./dist/api/link-preview.d.ts",
|
|
45
|
-
"import": "./dist/api/link-preview.mjs",
|
|
46
|
-
"require": "./dist/api/link-preview.js"
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"files": [
|
|
50
|
-
"dist"
|
|
51
|
-
],
|
|
52
|
-
"license": "MIT",
|
|
53
|
-
"publishConfig": {
|
|
54
|
-
"access": "public"
|
|
55
|
-
},
|
|
56
|
-
"scripts": {
|
|
57
|
-
"build": "tsup src/index.ts src/api/link-preview.ts --dts --format cjs,esm --sourcemap --external @tiptap/core && node scripts/copy-style.js",
|
|
58
|
-
"dev": "tsup src/index.ts src/api/link-preview.ts --dts --format cjs,esm --sourcemap --external @tiptap/core --watch --onSuccess \"node scripts/copy-style.js\"",
|
|
59
|
-
"type-check": "tsc --noEmit",
|
|
60
|
-
"test": "vitest run",
|
|
61
|
-
"test:watch": "vitest",
|
|
62
|
-
"test:coverage": "vitest run --coverage",
|
|
63
|
-
"test:ui": "vitest --ui",
|
|
64
|
-
"prepublishOnly": "npm run type-check && npm run build"
|
|
65
|
-
},
|
|
66
|
-
"peerDependencies": {
|
|
67
|
-
"react": ">=18.0.0",
|
|
68
|
-
"react-dom": ">=18.0.0",
|
|
69
|
-
"@tiptap/core": "
|
|
70
|
-
},
|
|
71
|
-
"dependencies": {
|
|
72
|
-
"@blocknote/core": "^0.35.0",
|
|
73
|
-
"@blocknote/react": "^0.35.0",
|
|
74
|
-
"@blocknote/mantine": "^0.35.0",
|
|
75
|
-
"@floating-ui/react": "^0.26.28",
|
|
76
|
-
"prosemirror-model": "^1.25.1",
|
|
77
|
-
"prosemirror-state": "^1.4.3",
|
|
78
|
-
"prosemirror-tables": "^1.6.4",
|
|
79
|
-
"prosemirror-view": "^1.38.1"
|
|
80
|
-
},
|
|
81
|
-
"devDependencies": {
|
|
82
|
-
"typescript": "^5.4.0",
|
|
83
|
-
"tsup": "^8.0.1",
|
|
84
|
-
"@types/react": "^18.2.0",
|
|
85
|
-
"@types/react-dom": "^18.2.0",
|
|
86
|
-
"react": "^18.2.0",
|
|
87
|
-
"react-dom": "^18.2.0",
|
|
88
|
-
"vitest": "^3.0.0",
|
|
89
|
-
"@vitest/coverage-v8": "^3.0.0",
|
|
90
|
-
"@vitest/ui": "^3.0.0",
|
|
91
|
-
"@vitejs/plugin-react": "^4.0.0",
|
|
92
|
-
"jsdom": "^26.0.0",
|
|
93
|
-
"@testing-library/react": "^16.0.0",
|
|
94
|
-
"@testing-library/jest-dom": "^6.0.0",
|
|
95
|
-
"@testing-library/user-event": "^14.0.0"
|
|
96
|
-
},
|
|
97
|
-
"sideEffects": [
|
|
98
|
-
"**/*.css"
|
|
99
|
-
]
|
|
100
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@lumir-company/editor",
|
|
3
|
+
"version": "0.4.25",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "Image-only BlockNote rich text editor with S3 upload, customizable filename transforms, UUID support, and loading spinner",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"editor",
|
|
8
|
+
"blocknote",
|
|
9
|
+
"rich-text",
|
|
10
|
+
"react",
|
|
11
|
+
"typescript",
|
|
12
|
+
"image-editor",
|
|
13
|
+
"wysiwyg",
|
|
14
|
+
"s3-upload",
|
|
15
|
+
"loading-spinner",
|
|
16
|
+
"filename-transform",
|
|
17
|
+
"uuid",
|
|
18
|
+
"file-upload",
|
|
19
|
+
"table",
|
|
20
|
+
"lumir"
|
|
21
|
+
],
|
|
22
|
+
"main": "dist/index.js",
|
|
23
|
+
"module": "dist/index.mjs",
|
|
24
|
+
"types": "dist/index.d.ts",
|
|
25
|
+
"engines": {
|
|
26
|
+
"node": ">=18"
|
|
27
|
+
},
|
|
28
|
+
"repository": {
|
|
29
|
+
"type": "git",
|
|
30
|
+
"url": "git+https://github.com/lumir-company/editor.git"
|
|
31
|
+
},
|
|
32
|
+
"homepage": "https://github.com/lumir-company/editor#readme",
|
|
33
|
+
"bugs": {
|
|
34
|
+
"url": "https://github.com/lumir-company/editor/issues"
|
|
35
|
+
},
|
|
36
|
+
"exports": {
|
|
37
|
+
".": {
|
|
38
|
+
"types": "./dist/index.d.ts",
|
|
39
|
+
"import": "./dist/index.mjs",
|
|
40
|
+
"require": "./dist/index.js"
|
|
41
|
+
},
|
|
42
|
+
"./style.css": "./dist/style.css",
|
|
43
|
+
"./api/link-preview": {
|
|
44
|
+
"types": "./dist/api/link-preview.d.ts",
|
|
45
|
+
"import": "./dist/api/link-preview.mjs",
|
|
46
|
+
"require": "./dist/api/link-preview.js"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"files": [
|
|
50
|
+
"dist"
|
|
51
|
+
],
|
|
52
|
+
"license": "MIT",
|
|
53
|
+
"publishConfig": {
|
|
54
|
+
"access": "public"
|
|
55
|
+
},
|
|
56
|
+
"scripts": {
|
|
57
|
+
"build": "tsup src/index.ts src/api/link-preview.ts --dts --format cjs,esm --sourcemap --external @tiptap/core && node scripts/copy-style.js",
|
|
58
|
+
"dev": "tsup src/index.ts src/api/link-preview.ts --dts --format cjs,esm --sourcemap --external @tiptap/core --watch --onSuccess \"node scripts/copy-style.js\"",
|
|
59
|
+
"type-check": "tsc --noEmit",
|
|
60
|
+
"test": "vitest run",
|
|
61
|
+
"test:watch": "vitest",
|
|
62
|
+
"test:coverage": "vitest run --coverage",
|
|
63
|
+
"test:ui": "vitest --ui",
|
|
64
|
+
"prepublishOnly": "npm run type-check && npm run build"
|
|
65
|
+
},
|
|
66
|
+
"peerDependencies": {
|
|
67
|
+
"react": ">=18.0.0",
|
|
68
|
+
"react-dom": ">=18.0.0",
|
|
69
|
+
"@tiptap/core": "^2.27.2"
|
|
70
|
+
},
|
|
71
|
+
"dependencies": {
|
|
72
|
+
"@blocknote/core": "^0.35.0",
|
|
73
|
+
"@blocknote/react": "^0.35.0",
|
|
74
|
+
"@blocknote/mantine": "^0.35.0",
|
|
75
|
+
"@floating-ui/react": "^0.26.28",
|
|
76
|
+
"prosemirror-model": "^1.25.1",
|
|
77
|
+
"prosemirror-state": "^1.4.3",
|
|
78
|
+
"prosemirror-tables": "^1.6.4",
|
|
79
|
+
"prosemirror-view": "^1.38.1"
|
|
80
|
+
},
|
|
81
|
+
"devDependencies": {
|
|
82
|
+
"typescript": "^5.4.0",
|
|
83
|
+
"tsup": "^8.0.1",
|
|
84
|
+
"@types/react": "^18.2.0",
|
|
85
|
+
"@types/react-dom": "^18.2.0",
|
|
86
|
+
"react": "^18.2.0",
|
|
87
|
+
"react-dom": "^18.2.0",
|
|
88
|
+
"vitest": "^3.0.0",
|
|
89
|
+
"@vitest/coverage-v8": "^3.0.0",
|
|
90
|
+
"@vitest/ui": "^3.0.0",
|
|
91
|
+
"@vitejs/plugin-react": "^4.0.0",
|
|
92
|
+
"jsdom": "^26.0.0",
|
|
93
|
+
"@testing-library/react": "^16.0.0",
|
|
94
|
+
"@testing-library/jest-dom": "^6.0.0",
|
|
95
|
+
"@testing-library/user-event": "^14.0.0"
|
|
96
|
+
},
|
|
97
|
+
"sideEffects": [
|
|
98
|
+
"**/*.css"
|
|
99
|
+
],
|
|
100
|
+
"overrides": {
|
|
101
|
+
"@tiptap/core": "^2.27.2"
|
|
102
|
+
}
|
|
103
|
+
}
|