osameditor 0.1.0

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/package.json ADDED
@@ -0,0 +1,85 @@
1
+ {
2
+ "name": "osameditor",
3
+ "version": "0.1.0",
4
+ "description": "A configurable rich text editor for React & Next.js (TypeScript/JavaScript) with built-in OsamStorage uploads for images, video and PDF — or bring your own VPS storage.",
5
+ "license": "MIT",
6
+ "author": "sonuroshankumarpaswan@gmail.com",
7
+ "keywords": [
8
+ "rich-text-editor",
9
+ "wysiwyg",
10
+ "react",
11
+ "nextjs",
12
+ "tiptap",
13
+ "editor",
14
+ "blog",
15
+ "osamstorage"
16
+ ],
17
+ "type": "module",
18
+ "main": "./dist/index.cjs",
19
+ "module": "./dist/index.js",
20
+ "types": "./dist/index.d.ts",
21
+ "exports": {
22
+ ".": {
23
+ "types": "./dist/index.d.ts",
24
+ "import": "./dist/index.js",
25
+ "require": "./dist/index.cjs"
26
+ },
27
+ "./styles.css": "./dist/styles.css",
28
+ "./package.json": "./package.json"
29
+ },
30
+ "files": [
31
+ "dist"
32
+ ],
33
+ "sideEffects": [
34
+ "*.css"
35
+ ],
36
+ "scripts": {
37
+ "build": "tsup",
38
+ "dev": "tsup --watch",
39
+ "typecheck": "tsc --noEmit",
40
+ "test": "npm run build && node test/smoke.mjs",
41
+ "prepublishOnly": "npm run build"
42
+ },
43
+ "engines": {
44
+ "node": ">=18"
45
+ },
46
+ "peerDependencies": {
47
+ "react": ">=17",
48
+ "react-dom": ">=17",
49
+ "osamstorage": ">=3",
50
+ "hls.js": ">=1"
51
+ },
52
+ "peerDependenciesMeta": {
53
+ "osamstorage": {
54
+ "optional": true
55
+ },
56
+ "hls.js": {
57
+ "optional": true
58
+ }
59
+ },
60
+ "dependencies": {
61
+ "@tiptap/core": "^3.30.5",
62
+ "@tiptap/extension-code-block-lowlight": "^3.30.5",
63
+ "@tiptap/extension-highlight": "^3.30.5",
64
+ "@tiptap/extension-image": "^3.30.5",
65
+ "@tiptap/extension-placeholder": "^3.30.5",
66
+ "@tiptap/extension-task-item": "^3.30.5",
67
+ "@tiptap/extension-task-list": "^3.30.5",
68
+ "@tiptap/extension-text-align": "^3.30.5",
69
+ "@tiptap/extension-text-style": "^3.30.5",
70
+ "@tiptap/pm": "^3.30.5",
71
+ "@tiptap/react": "^3.30.5",
72
+ "@tiptap/starter-kit": "^3.30.5",
73
+ "lowlight": "^3.3.0"
74
+ },
75
+ "devDependencies": {
76
+ "@types/react": "^19.0.0",
77
+ "@types/react-dom": "^19.0.0",
78
+ "jsdom": "^29.1.1",
79
+ "osamstorage": "^3.1.2",
80
+ "react": "^19.0.0",
81
+ "react-dom": "^19.0.0",
82
+ "tsup": "^8.5.0",
83
+ "typescript": "^5.7.0"
84
+ }
85
+ }