@grandaniel/vue-markdown-editor 1.0.0-dev.bd10ecb

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.
Files changed (35) hide show
  1. package/LICENSE +15 -0
  2. package/README.md +29 -0
  3. package/dist/components/MarkdownEditor/Composable/HeadlineTypeMap.d.ts +8 -0
  4. package/dist/components/MarkdownEditor/Composable/useMarkdownEditor.d.ts +26 -0
  5. package/dist/components/MarkdownEditor/Composable/useMarkdownProcessor.d.ts +28 -0
  6. package/dist/components/MarkdownEditor/Composable/useReflectiveState.d.ts +20 -0
  7. package/dist/components/MarkdownEditor/ContextMenu/MarkdownEditorContextMenu.vue.d.ts +17 -0
  8. package/dist/components/MarkdownEditor/ContextMenu/MarkdownEditorContextMenuBlockItem.vue.d.ts +17 -0
  9. package/dist/components/MarkdownEditor/ContextMenu/MarkdownEditorContextMenuInlineItem.vue.d.ts +20 -0
  10. package/dist/components/MarkdownEditor/ContextMenu/MarkdownEditorImageContextMenu.vue.d.ts +11 -0
  11. package/dist/components/MarkdownEditor/ContextMenu/MarkdownEditorTextSelectionContextMenu.vue.d.ts +20 -0
  12. package/dist/components/MarkdownEditor/Factory/MarkdownNodeFactory.d.ts +14 -0
  13. package/dist/components/MarkdownEditor/MarkdownComponentRegistry.d.ts +15 -0
  14. package/dist/components/MarkdownEditor/MarkdownEditor.vue.d.ts +42 -0
  15. package/dist/components/MarkdownEditor/MarkdownEditorModal.vue.d.ts +23 -0
  16. package/dist/components/MarkdownEditor/MarkdownEditorModule.vue.d.ts +45 -0
  17. package/dist/components/MarkdownEditor/Modules/MarkdownModuleHeadline1.vue.d.ts +19 -0
  18. package/dist/components/MarkdownEditor/Modules/MarkdownModuleHeadline2.vue.d.ts +19 -0
  19. package/dist/components/MarkdownEditor/Modules/MarkdownModuleHeadline3.vue.d.ts +19 -0
  20. package/dist/components/MarkdownEditor/Modules/MarkdownModuleImage.vue.d.ts +14 -0
  21. package/dist/components/MarkdownEditor/Modules/MarkdownModuleImageState.d.ts +6 -0
  22. package/dist/components/MarkdownEditor/Modules/MarkdownModuleList.vue.d.ts +3 -0
  23. package/dist/components/MarkdownEditor/Modules/MarkdownModuleListState.d.ts +5 -0
  24. package/dist/components/MarkdownEditor/Modules/MarkdownModuleParagraph.vue.d.ts +19 -0
  25. package/dist/components/MarkdownEditor/Modules/MarkdownModuleTextState.d.ts +4 -0
  26. package/dist/components/MarkdownEditor/TipTap/SingleLineExtension.d.ts +4 -0
  27. package/dist/components/MarkdownEditor/Types/MarkdownAstNode.d.ts +14 -0
  28. package/dist/components/MarkdownEditor/Types/MarkdownAstNodeType.d.ts +11 -0
  29. package/dist/components/MarkdownEditor/Types/TextishEmits.d.ts +12 -0
  30. package/dist/components/MarkdownEditor/index.d.ts +5 -0
  31. package/dist/components/index.d.ts +1 -0
  32. package/dist/index.d.ts +1 -0
  33. package/dist/vue-markdown-editor.css +2 -0
  34. package/dist/vue-markdown-editor.mjs +20524 -0
  35. package/package.json +91 -0
package/package.json ADDED
@@ -0,0 +1,91 @@
1
+ {
2
+ "name": "@grandaniel/vue-markdown-editor",
3
+ "version": "1.0.0-dev.bd10ecb",
4
+ "description": "Vue 3 markdown editor component library.",
5
+ "main": "./dist/vue-markdown-editor.mjs",
6
+ "module": "./dist/vue-markdown-editor.mjs",
7
+ "private": false,
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/vue-markdown-editor.mjs",
13
+ "default": "./dist/vue-markdown-editor.mjs"
14
+ }
15
+ },
16
+ "files": [
17
+ "dist",
18
+ "README.md",
19
+ "LICENSE"
20
+ ],
21
+ "keywords": [
22
+ "vue",
23
+ "vue3",
24
+ "markdown",
25
+ "editor",
26
+ "tiptap"
27
+ ],
28
+ "author": "danielgran",
29
+ "repository": {
30
+ "type": "git",
31
+ "url": "git+https://github.com/danielgran/vue-markdown-editor.git"
32
+ },
33
+ "bugs": {
34
+ "url": "https://github.com/danielgran/vue-markdown-editor/issues"
35
+ },
36
+ "homepage": "https://github.com/danielgran/vue-markdown-editor#readme",
37
+ "publishConfig": {
38
+ "access": "public",
39
+ "provenance": true
40
+ },
41
+ "engines": {
42
+ "node": ">=22"
43
+ },
44
+ "scripts": {
45
+ "dev": "vite",
46
+ "build": "vue-tsc -p tsconfig.build.json && vite build",
47
+ "type-check": "vue-tsc --noEmit",
48
+ "preview": "vite preview",
49
+ "test": "vitest run"
50
+ },
51
+ "license": "ISC",
52
+ "peerDependencies": {
53
+ "vue": "^3.5.0"
54
+ },
55
+ "sideEffects": [
56
+ "**/*.css",
57
+ "**/*.scss",
58
+ "**/*.vue"
59
+ ],
60
+ "devDependencies": {
61
+ "@types/mdast": "^4.0.4",
62
+ "@tsconfig/node22": "^22.0.5",
63
+ "@types/node": "^22.19.19",
64
+ "@types/sortablejs": "^1.15.8",
65
+ "@types/turndown": "^5.0.5",
66
+ "@vitejs/plugin-vue": "^6.0.7",
67
+ "@vitest/coverage-v8": "^4.1.6",
68
+ "@vue/test-utils": "^2.4.10",
69
+ "@vue/tsconfig": "^0.9.1",
70
+ "eslint": "^10.4.0",
71
+ "happy-dom": "^20.9.0",
72
+ "sass": "^1.99.0",
73
+ "typescript": "^6.0.3",
74
+ "vite": "^8.0.13",
75
+ "vitest": "^4.1.6",
76
+ "vue": "^3.5.34",
77
+ "vue-tsc": "^3.2.9"
78
+ },
79
+ "dependencies": {
80
+ "@tiptap/extensions": "^3.23.4",
81
+ "@tiptap/starter-kit": "^3.23.4",
82
+ "@tiptap/vue-3": "^3.23.4",
83
+ "@vueuse/core": "^14.3.0",
84
+ "@vueuse/integrations": "^14.3.0",
85
+ "marked": "^18.0.3",
86
+ "remark-parse": "^11.0.0",
87
+ "sortablejs": "^1.15.6",
88
+ "unified": "^11.0.5",
89
+ "turndown": "^7.2.4"
90
+ }
91
+ }