@noirmd/previewer 1.0.2 → 1.1.1
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/dist/NReditor.cjs +42 -39
- package/dist/NReditor.cjs.map +1 -1
- package/dist/NReditor.js +42 -39
- package/dist/NReditor.js.map +1 -1
- package/dist/core.cjs +464 -0
- package/dist/core.cjs.map +1 -0
- package/dist/core.d.cts +118 -0
- package/dist/core.d.ts +118 -0
- package/dist/core.js +429 -0
- package/dist/core.js.map +1 -0
- package/dist/index.cjs +57 -38
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +120 -73
- package/dist/index.d.ts +120 -73
- package/dist/index.js +49 -38
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +12044 -0
- package/dist/react.cjs.map +1 -0
- package/dist/react.d.cts +225 -0
- package/dist/react.d.ts +225 -0
- package/dist/react.js +12018 -0
- package/dist/react.js.map +1 -0
- package/dist/vanilla.cjs +11844 -0
- package/dist/vanilla.cjs.map +1 -0
- package/dist/vanilla.css +677 -0
- package/dist/vanilla.d.cts +173 -0
- package/dist/vanilla.d.ts +173 -0
- package/dist/vanilla.js +11818 -0
- package/dist/vanilla.js.map +1 -0
- package/dist/vue.cjs +12218 -0
- package/dist/vue.cjs.map +1 -0
- package/dist/vue.d.cts +389 -0
- package/dist/vue.d.ts +389 -0
- package/dist/vue.js +12208 -0
- package/dist/vue.js.map +1 -0
- package/package.json +37 -6
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@noirmd/previewer",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "
|
|
5
|
+
"description": "Framework-agnostic markdown parser with React renderer, directives, cards, modals, and Tailwind styling",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
7
7
|
"module": "./dist/index.js",
|
|
8
8
|
"types": "./dist/index.d.ts",
|
|
@@ -13,6 +13,31 @@
|
|
|
13
13
|
"require": "./dist/index.cjs",
|
|
14
14
|
"default": "./dist/index.js"
|
|
15
15
|
},
|
|
16
|
+
"./core": {
|
|
17
|
+
"types": "./dist/core.d.ts",
|
|
18
|
+
"import": "./dist/core.js",
|
|
19
|
+
"require": "./dist/core.cjs",
|
|
20
|
+
"default": "./dist/core.js"
|
|
21
|
+
},
|
|
22
|
+
"./react": {
|
|
23
|
+
"types": "./dist/react.d.ts",
|
|
24
|
+
"import": "./dist/react.js",
|
|
25
|
+
"require": "./dist/react.cjs",
|
|
26
|
+
"default": "./dist/react.js"
|
|
27
|
+
},
|
|
28
|
+
"./vanilla": {
|
|
29
|
+
"types": "./dist/vanilla.d.ts",
|
|
30
|
+
"import": "./dist/vanilla.js",
|
|
31
|
+
"require": "./dist/vanilla.cjs",
|
|
32
|
+
"default": "./dist/vanilla.js"
|
|
33
|
+
},
|
|
34
|
+
"./vanilla/vanilla.css": "./dist/vanilla.css",
|
|
35
|
+
"./vue": {
|
|
36
|
+
"types": "./dist/vue.d.ts",
|
|
37
|
+
"import": "./dist/vue.js",
|
|
38
|
+
"require": "./dist/vue.cjs",
|
|
39
|
+
"default": "./dist/vue.js"
|
|
40
|
+
},
|
|
16
41
|
"./editor": {
|
|
17
42
|
"types": "./dist/NReditor.d.ts",
|
|
18
43
|
"import": "./dist/NReditor.js",
|
|
@@ -39,13 +64,14 @@
|
|
|
39
64
|
"directives",
|
|
40
65
|
"tailwind",
|
|
41
66
|
"admonitions",
|
|
42
|
-
"cards"
|
|
67
|
+
"cards",
|
|
68
|
+
"vue"
|
|
43
69
|
],
|
|
44
70
|
"author": "NOIR-DexPrkr",
|
|
45
71
|
"license": "MIT",
|
|
46
72
|
"repository": {
|
|
47
73
|
"type": "git",
|
|
48
|
-
"url": "https://github.com/NOIR-DexPrkr/NoirMD.git",
|
|
74
|
+
"url": "git+https://github.com/NOIR-DexPrkr/NoirMD.git",
|
|
49
75
|
"directory": "markdown-v2"
|
|
50
76
|
},
|
|
51
77
|
"homepage": "https://github.com/NOIR-DexPrkr/NoirMD#readme",
|
|
@@ -60,12 +86,16 @@
|
|
|
60
86
|
"@lezer/highlight": ">=1.0.0",
|
|
61
87
|
"@uiw/react-codemirror": ">=4.0.0",
|
|
62
88
|
"react": ">=18.0.0",
|
|
63
|
-
"react-dom": ">=18.0.0"
|
|
89
|
+
"react-dom": ">=18.0.0",
|
|
90
|
+
"vue": ">=3.0.0"
|
|
64
91
|
},
|
|
65
92
|
"peerDependenciesMeta": {
|
|
66
93
|
"@base-ui/react": {
|
|
67
94
|
"optional": true
|
|
68
95
|
},
|
|
96
|
+
"vue": {
|
|
97
|
+
"optional": true
|
|
98
|
+
},
|
|
69
99
|
"@uiw/react-codemirror": {
|
|
70
100
|
"optional": true
|
|
71
101
|
},
|
|
@@ -94,6 +124,7 @@
|
|
|
94
124
|
"@types/react": "^18.0.0 || ^19.0.0",
|
|
95
125
|
"@uiw/react-codemirror": "^4.25.11",
|
|
96
126
|
"tsup": "^8.0.0",
|
|
97
|
-
"typescript": "^5.0.0"
|
|
127
|
+
"typescript": "^5.0.0",
|
|
128
|
+
"vue": "^3.5.40"
|
|
98
129
|
}
|
|
99
130
|
}
|