@pretextbook/web-editor 0.0.13 → 0.0.14
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 +128 -128
- package/dist/App.d.ts +0 -0
- package/dist/components/BubbleMenu.d.ts +0 -0
- package/dist/components/CodeEditor.d.ts +0 -0
- package/dist/components/CodeEditorMenu.d.ts +0 -0
- package/dist/components/Editors.d.ts +0 -0
- package/dist/components/FloatingMenu.d.ts +0 -0
- package/dist/components/FullPreview.d.ts +0 -0
- package/dist/components/MenuBar.d.ts +0 -0
- package/dist/components/TheoremLike.d.ts +0 -0
- package/dist/components/TiptapMenuBar.d.ts +0 -0
- package/dist/components/VisualEditor.d.ts +0 -0
- package/dist/defaultContent.d.ts +0 -0
- package/dist/extensions/AxiomLike.d.ts +0 -0
- package/dist/extensions/Blocks.d.ts +0 -0
- package/dist/extensions/Definition.d.ts +0 -0
- package/dist/extensions/Divisions.d.ts +0 -0
- package/dist/extensions/Emph.d.ts +0 -0
- package/dist/extensions/ExampleLike.d.ts +0 -0
- package/dist/extensions/Inline.d.ts +0 -0
- package/dist/extensions/Keyboard.d.ts +0 -0
- package/dist/extensions/Math.d.ts +0 -0
- package/dist/extensions/RawPtx.d.ts +0 -0
- package/dist/extensions/RemarkLike.d.ts +0 -0
- package/dist/extensions/Statement.d.ts +0 -0
- package/dist/extensions/TheoremLike.d.ts +0 -0
- package/dist/extensions/Title.d.ts +0 -0
- package/dist/extensions/UnknownMark.d.ts +0 -0
- package/dist/extensions/Url.d.ts +0 -0
- package/dist/extensions/getCursorPos.d.ts +0 -0
- package/dist/index.d.ts +0 -0
- package/dist/index.es.js +27 -13
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/json2ptx.d.ts +0 -0
- package/dist/knownTags.d.ts +0 -0
- package/dist/main.d.ts +0 -0
- package/dist/ptxSourceSlice.d.ts +0 -0
- package/dist/utils.d.ts +0 -0
- package/dist/web-editor.css +1 -1
- package/package.json +89 -89
package/package.json
CHANGED
|
@@ -1,89 +1,89 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@pretextbook/web-editor",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"private": false,
|
|
5
|
-
"description": "A web-based editor for PreTeXt documents, with simple preview functionality",
|
|
6
|
-
"keywords": [
|
|
7
|
-
"pretext",
|
|
8
|
-
"editor",
|
|
9
|
-
"tiptap"
|
|
10
|
-
],
|
|
11
|
-
"homepage": "https://github.com/oscarlevin/pretext-plus-editor#readme",
|
|
12
|
-
"bugs": {
|
|
13
|
-
"url": "https://github.com/oscarlevin/pretext-plus-editor/issues"
|
|
14
|
-
},
|
|
15
|
-
"repository": {
|
|
16
|
-
"type": "git",
|
|
17
|
-
"url": "git+https://github.com/oscarlevin/pretext-plus-editor.git"
|
|
18
|
-
},
|
|
19
|
-
"license": "MIT",
|
|
20
|
-
"author": "Oscar Levin",
|
|
21
|
-
"type": "module",
|
|
22
|
-
"main": "./dist/index.js",
|
|
23
|
-
"module": "./dist/index.es.js",
|
|
24
|
-
"types": "./dist/index.d.ts",
|
|
25
|
-
"exports": {
|
|
26
|
-
".": {
|
|
27
|
-
"types": "./dist/index.d.ts",
|
|
28
|
-
"import": "./dist/index.es.js",
|
|
29
|
-
"require": "./dist/index.js"
|
|
30
|
-
},
|
|
31
|
-
"./dist/web-editor.css": "./dist/web-editor.css",
|
|
32
|
-
"./web-editor.css": "./dist/web-editor.css"
|
|
33
|
-
},
|
|
34
|
-
"style": "./dist/web-editor.css",
|
|
35
|
-
"files": [
|
|
36
|
-
"dist"
|
|
37
|
-
],
|
|
38
|
-
"peerDependencies": {
|
|
39
|
-
"react": ">=16.8.0",
|
|
40
|
-
"react-dom": ">=16.8.0"
|
|
41
|
-
},
|
|
42
|
-
"scripts": {
|
|
43
|
-
"dev": "vite",
|
|
44
|
-
"build": "vite build --mode lib && tsc -p tsconfig.build.json",
|
|
45
|
-
"build:demo": "tsc -b && vite build",
|
|
46
|
-
"lint": "eslint .",
|
|
47
|
-
"preview": "vite preview"
|
|
48
|
-
},
|
|
49
|
-
"dependencies": {
|
|
50
|
-
"@floating-ui/dom": "^1.7.4",
|
|
51
|
-
"@monaco-editor/react": "^4.7.0",
|
|
52
|
-
"@pretextbook/format": "^0.0.5",
|
|
53
|
-
"@reduxjs/toolkit": "^2.11.2",
|
|
54
|
-
"@tailwindcss/vite": "^4.1.18",
|
|
55
|
-
"@tiptap/extension-code-block": "^3.14.0",
|
|
56
|
-
"@tiptap/extension-hard-break": "^3.14.0",
|
|
57
|
-
"@tiptap/extension-list": "^3.14.0",
|
|
58
|
-
"@tiptap/extension-text": "^3.14.0",
|
|
59
|
-
"@tiptap/extensions": "^3.14.0",
|
|
60
|
-
"@tiptap/pm": "^3.14.0",
|
|
61
|
-
"@tiptap/react": "^3.14.0",
|
|
62
|
-
"hast-util-whitespace": "^3.0.0",
|
|
63
|
-
"katex": "^0.16.27",
|
|
64
|
-
"primeflex": "^4.0.0",
|
|
65
|
-
"primeicons": "^7.0.0",
|
|
66
|
-
"primereact": "^10.9.7",
|
|
67
|
-
"react": ">=16.8.0",
|
|
68
|
-
"react-dom": ">=16.8.0",
|
|
69
|
-
"tailwindcss": "^4.1.18",
|
|
70
|
-
"unist-util-visit": "^5.0.0",
|
|
71
|
-
"xast-util-from-xml": "^4.0.0",
|
|
72
|
-
"xast-util-to-xml": "^4.0.0"
|
|
73
|
-
},
|
|
74
|
-
"devDependencies": {
|
|
75
|
-
"@eslint/js": "^9.39.2",
|
|
76
|
-
"@types/node": "^25.0.3",
|
|
77
|
-
"@types/react": "^19.2.7",
|
|
78
|
-
"@types/react-dom": "^19.2.3",
|
|
79
|
-
"@vitejs/plugin-react": "^5.1.2",
|
|
80
|
-
"eslint": "^9.39.2",
|
|
81
|
-
"eslint-plugin-react-hooks": "^7.0.1",
|
|
82
|
-
"eslint-plugin-react-refresh": "^0.4.26",
|
|
83
|
-
"globals": "^16.5.0",
|
|
84
|
-
"sass-embedded": "^1.97.1",
|
|
85
|
-
"typescript": "~5.9.3",
|
|
86
|
-
"typescript-eslint": "^8.50.0",
|
|
87
|
-
"vite": "^7.3.0"
|
|
88
|
-
}
|
|
89
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@pretextbook/web-editor",
|
|
3
|
+
"version": "0.0.14",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "A web-based editor for PreTeXt documents, with simple preview functionality",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"pretext",
|
|
8
|
+
"editor",
|
|
9
|
+
"tiptap"
|
|
10
|
+
],
|
|
11
|
+
"homepage": "https://github.com/oscarlevin/pretext-plus-editor#readme",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/oscarlevin/pretext-plus-editor/issues"
|
|
14
|
+
},
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "git+https://github.com/oscarlevin/pretext-plus-editor.git"
|
|
18
|
+
},
|
|
19
|
+
"license": "MIT",
|
|
20
|
+
"author": "Oscar Levin",
|
|
21
|
+
"type": "module",
|
|
22
|
+
"main": "./dist/index.js",
|
|
23
|
+
"module": "./dist/index.es.js",
|
|
24
|
+
"types": "./dist/index.d.ts",
|
|
25
|
+
"exports": {
|
|
26
|
+
".": {
|
|
27
|
+
"types": "./dist/index.d.ts",
|
|
28
|
+
"import": "./dist/index.es.js",
|
|
29
|
+
"require": "./dist/index.js"
|
|
30
|
+
},
|
|
31
|
+
"./dist/web-editor.css": "./dist/web-editor.css",
|
|
32
|
+
"./web-editor.css": "./dist/web-editor.css"
|
|
33
|
+
},
|
|
34
|
+
"style": "./dist/web-editor.css",
|
|
35
|
+
"files": [
|
|
36
|
+
"dist"
|
|
37
|
+
],
|
|
38
|
+
"peerDependencies": {
|
|
39
|
+
"react": ">=16.8.0",
|
|
40
|
+
"react-dom": ">=16.8.0"
|
|
41
|
+
},
|
|
42
|
+
"scripts": {
|
|
43
|
+
"dev": "vite",
|
|
44
|
+
"build": "vite build --mode lib && tsc -p tsconfig.build.json",
|
|
45
|
+
"build:demo": "tsc -b && vite build",
|
|
46
|
+
"lint": "eslint .",
|
|
47
|
+
"preview": "vite preview"
|
|
48
|
+
},
|
|
49
|
+
"dependencies": {
|
|
50
|
+
"@floating-ui/dom": "^1.7.4",
|
|
51
|
+
"@monaco-editor/react": "^4.7.0",
|
|
52
|
+
"@pretextbook/format": "^0.0.5",
|
|
53
|
+
"@reduxjs/toolkit": "^2.11.2",
|
|
54
|
+
"@tailwindcss/vite": "^4.1.18",
|
|
55
|
+
"@tiptap/extension-code-block": "^3.14.0",
|
|
56
|
+
"@tiptap/extension-hard-break": "^3.14.0",
|
|
57
|
+
"@tiptap/extension-list": "^3.14.0",
|
|
58
|
+
"@tiptap/extension-text": "^3.14.0",
|
|
59
|
+
"@tiptap/extensions": "^3.14.0",
|
|
60
|
+
"@tiptap/pm": "^3.14.0",
|
|
61
|
+
"@tiptap/react": "^3.14.0",
|
|
62
|
+
"hast-util-whitespace": "^3.0.0",
|
|
63
|
+
"katex": "^0.16.27",
|
|
64
|
+
"primeflex": "^4.0.0",
|
|
65
|
+
"primeicons": "^7.0.0",
|
|
66
|
+
"primereact": "^10.9.7",
|
|
67
|
+
"react": ">=16.8.0",
|
|
68
|
+
"react-dom": ">=16.8.0",
|
|
69
|
+
"tailwindcss": "^4.1.18",
|
|
70
|
+
"unist-util-visit": "^5.0.0",
|
|
71
|
+
"xast-util-from-xml": "^4.0.0",
|
|
72
|
+
"xast-util-to-xml": "^4.0.0"
|
|
73
|
+
},
|
|
74
|
+
"devDependencies": {
|
|
75
|
+
"@eslint/js": "^9.39.2",
|
|
76
|
+
"@types/node": "^25.0.3",
|
|
77
|
+
"@types/react": "^19.2.7",
|
|
78
|
+
"@types/react-dom": "^19.2.3",
|
|
79
|
+
"@vitejs/plugin-react": "^5.1.2",
|
|
80
|
+
"eslint": "^9.39.2",
|
|
81
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
82
|
+
"eslint-plugin-react-refresh": "^0.4.26",
|
|
83
|
+
"globals": "^16.5.0",
|
|
84
|
+
"sass-embedded": "^1.97.1",
|
|
85
|
+
"typescript": "~5.9.3",
|
|
86
|
+
"typescript-eslint": "^8.50.0",
|
|
87
|
+
"vite": "^7.3.0"
|
|
88
|
+
}
|
|
89
|
+
}
|