@fileverse-dev/ddoc 2.0.9 → 2.1.0-patch-2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.es.js +39416 -34683
- package/dist/package/components/editor-bubble-menu.d.ts +3 -0
- package/dist/package/components/editor-toolbar.d.ts +3 -1
- package/dist/package/components/presentation-mode/presentation-mode.d.ts +11 -0
- package/dist/package/components/presentation-mode/preview-panel.d.ts +12 -0
- package/dist/package/components/tag-input.d.ts +1 -1
- package/dist/package/extensions/mardown-paste-handler/index.d.ts +2 -0
- package/dist/package/types.d.ts +6 -0
- package/dist/package/use-ddoc-editor.d.ts +1 -1
- package/dist/package/utils/handle-print.d.ts +1 -0
- package/dist/package/utils/md-to-html.d.ts +9 -0
- package/dist/package/utils/md-to-slides.d.ts +14 -0
- package/dist/package/utils/template-utils.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +20 -4
package/package.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"name": "@fileverse-dev/ddoc",
|
3
3
|
"private": false,
|
4
4
|
"description": "DDoc",
|
5
|
-
"version": "2.0
|
5
|
+
"version": "2.1.0-patch-2",
|
6
6
|
"main": "dist/index.es.js",
|
7
7
|
"module": "dist/index.es.js",
|
8
8
|
"exports": {
|
@@ -22,13 +22,24 @@
|
|
22
22
|
"scripts": {
|
23
23
|
"dev": "vite",
|
24
24
|
"build": "tsc && vite build",
|
25
|
-
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
26
|
-
"preview": "vite preview"
|
25
|
+
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix",
|
26
|
+
"preview": "vite preview",
|
27
|
+
"prepare": "husky install"
|
28
|
+
},
|
29
|
+
"lint-staged": {
|
30
|
+
"**/*.{js,jsx,ts,tsx}": [
|
31
|
+
"eslint --fix",
|
32
|
+
"prettier --write"
|
33
|
+
],
|
34
|
+
"**/*.{json,css,md}": [
|
35
|
+
"prettier --write"
|
36
|
+
]
|
27
37
|
},
|
28
38
|
"dependencies": {
|
29
39
|
"@_ueberdosis/prosemirror-tables": "^1.1.3",
|
30
40
|
"@aarkue/tiptap-math-extension": "^1.3.3",
|
31
|
-
"@fileverse/
|
41
|
+
"@fileverse-dev/md2slides": "^0.0.8",
|
42
|
+
"@fileverse/ui": "4.1.3-patch-8",
|
32
43
|
"@radix-ui/react-focus-scope": "^1.1.0",
|
33
44
|
"@radix-ui/react-popover": "^1.0.7",
|
34
45
|
"@tippyjs/react": "^4.2.6",
|
@@ -99,9 +110,14 @@
|
|
99
110
|
"@vitejs/plugin-react": "^4.2.0",
|
100
111
|
"autoprefixer": "^10.4.19",
|
101
112
|
"eslint": "^8.53.0",
|
113
|
+
"eslint-config-prettier": "^9.1.0",
|
114
|
+
"eslint-plugin-prettier": "^5.2.1",
|
102
115
|
"eslint-plugin-react-hooks": "^4.6.0",
|
103
116
|
"eslint-plugin-react-refresh": "^0.4.4",
|
117
|
+
"husky": "^9.1.7",
|
118
|
+
"lint-staged": "^15.2.10",
|
104
119
|
"postcss": "^8.4.38",
|
120
|
+
"prettier": "^3.4.2",
|
105
121
|
"sass": "^1.77.2",
|
106
122
|
"tailwindcss": "^3.4.3",
|
107
123
|
"typescript": "^5.2.2",
|