@pretextbook/web-editor 0.0.13 → 0.0.15

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 CHANGED
@@ -1,89 +1,88 @@
1
- {
2
- "name": "@pretextbook/web-editor",
3
- "version": "0.0.13",
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.15",
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/PreTeXtPlus/pretext-plus-editor#readme",
12
+ "bugs": {
13
+ "url": "https://github.com/PreTeXtPlus/pretext-plus-editor/issues"
14
+ },
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "git+https://github.com/PreTeXtPlus/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
+ "@tailwindcss/vite": "^4.1.18",
54
+ "@tiptap/extension-code-block": "^3.14.0",
55
+ "@tiptap/extension-hard-break": "^3.14.0",
56
+ "@tiptap/extension-list": "^3.14.0",
57
+ "@tiptap/extension-text": "^3.14.0",
58
+ "@tiptap/extensions": "^3.14.0",
59
+ "@tiptap/pm": "^3.14.0",
60
+ "@tiptap/react": "^3.14.0",
61
+ "hast-util-whitespace": "^3.0.0",
62
+ "katex": "^0.16.27",
63
+ "primereact": "^10.9.7",
64
+ "tailwindcss": "^4.1.18",
65
+ "unist-util-visit": "^5.0.0",
66
+ "xast-util-from-xml": "^4.0.0",
67
+ "xast-util-to-xml": "^4.0.0"
68
+ },
69
+ "devDependencies": {
70
+ "@eslint/js": "^9.39.2",
71
+ "@types/node": "^25.0.3",
72
+ "@types/react": "^19.2.7",
73
+ "@types/react-dom": "^19.2.3",
74
+ "@vitejs/plugin-react": "^5.1.2",
75
+ "eslint": "^9.39.2",
76
+ "eslint-plugin-react-hooks": "^7.0.1",
77
+ "eslint-plugin-react-refresh": "^0.4.26",
78
+ "globals": "^16.5.0",
79
+ "primeflex": "^4.0.0",
80
+ "primeicons": "^7.0.0",
81
+ "react": "^19.0.0",
82
+ "react-dom": "^19.0.0",
83
+ "sass-embedded": "^1.97.1",
84
+ "typescript": "~5.9.3",
85
+ "typescript-eslint": "^8.50.0",
86
+ "vite": "^7.3.0"
87
+ }
88
+ }
@@ -1,6 +0,0 @@
1
- export declare const setPtxSource: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "ptxSource/setPtxSource">;
2
- declare const _default: import("redux").Reducer<{
3
- value: string;
4
- editor: null;
5
- }>;
6
- export default _default;