@noirmd/previewer 1.0.0
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.d.mts +29 -0
- package/dist/NReditor.d.ts +29 -0
- package/dist/NReditor.js +2375 -0
- package/dist/NReditor.js.map +1 -0
- package/dist/NReditor.mjs +2344 -0
- package/dist/NReditor.mjs.map +1 -0
- package/dist/index.d.mts +219 -0
- package/dist/index.d.ts +219 -0
- package/dist/index.js +12041 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +12015 -0
- package/dist/index.mjs.map +1 -0
- package/dist/markdown.css +344 -0
- package/markdown.css +344 -0
- package/package.json +106 -0
package/package.json
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@noirmd/previewer",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Custom markdown parser and React renderer with directives, cards, modals, and Tailwind styling",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"module": "./dist/index.mjs",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"default": "./dist/index.mjs"
|
|
13
|
+
},
|
|
14
|
+
"require": {
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"default": "./dist/index.js"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"./editor": {
|
|
20
|
+
"import": {
|
|
21
|
+
"types": "./dist/NReditor.d.mts",
|
|
22
|
+
"default": "./dist/NReditor.mjs"
|
|
23
|
+
},
|
|
24
|
+
"require": {
|
|
25
|
+
"types": "./dist/NReditor.d.ts",
|
|
26
|
+
"default": "./dist/NReditor.js"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"./markdown.css": "./markdown.css"
|
|
30
|
+
},
|
|
31
|
+
"files": [
|
|
32
|
+
"dist",
|
|
33
|
+
"markdown.css"
|
|
34
|
+
],
|
|
35
|
+
"scripts": {
|
|
36
|
+
"build": "tsup",
|
|
37
|
+
"dev": "tsup --watch",
|
|
38
|
+
"typecheck": "tsc --noEmit"
|
|
39
|
+
},
|
|
40
|
+
"keywords": [
|
|
41
|
+
"markdown",
|
|
42
|
+
"react",
|
|
43
|
+
"renderer",
|
|
44
|
+
"preview",
|
|
45
|
+
"editor",
|
|
46
|
+
"directives",
|
|
47
|
+
"tailwind",
|
|
48
|
+
"admonitions",
|
|
49
|
+
"cards"
|
|
50
|
+
],
|
|
51
|
+
"author": "NOIR-DexPrkr",
|
|
52
|
+
"license": "MIT",
|
|
53
|
+
"repository": {
|
|
54
|
+
"type": "git",
|
|
55
|
+
"url": "https://github.com/NOIR-DexPrkr/NoirMD.git",
|
|
56
|
+
"directory": "markdown-v2"
|
|
57
|
+
},
|
|
58
|
+
"homepage": "https://github.com/NOIR-DexPrkr/NoirMD#readme",
|
|
59
|
+
"bugs": {
|
|
60
|
+
"url": "https://github.com/NOIR-DexPrkr/NoirMD/issues"
|
|
61
|
+
},
|
|
62
|
+
"peerDependencies": {
|
|
63
|
+
"@base-ui/react": ">=1.0.0",
|
|
64
|
+
"@codemirror/language": ">=6.0.0",
|
|
65
|
+
"@codemirror/state": ">=6.0.0",
|
|
66
|
+
"@codemirror/view": ">=6.0.0",
|
|
67
|
+
"@lezer/highlight": ">=1.0.0",
|
|
68
|
+
"@uiw/react-codemirror": ">=4.0.0",
|
|
69
|
+
"react": ">=18.0.0",
|
|
70
|
+
"react-dom": ">=18.0.0"
|
|
71
|
+
},
|
|
72
|
+
"peerDependenciesMeta": {
|
|
73
|
+
"@base-ui/react": {
|
|
74
|
+
"optional": true
|
|
75
|
+
},
|
|
76
|
+
"@uiw/react-codemirror": {
|
|
77
|
+
"optional": true
|
|
78
|
+
},
|
|
79
|
+
"@codemirror/view": {
|
|
80
|
+
"optional": true
|
|
81
|
+
},
|
|
82
|
+
"@codemirror/state": {
|
|
83
|
+
"optional": true
|
|
84
|
+
},
|
|
85
|
+
"@codemirror/language": {
|
|
86
|
+
"optional": true
|
|
87
|
+
},
|
|
88
|
+
"@lezer/highlight": {
|
|
89
|
+
"optional": true
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"dependencies": {
|
|
93
|
+
"highlight.js": "^11.0.0"
|
|
94
|
+
},
|
|
95
|
+
"devDependencies": {
|
|
96
|
+
"@codemirror/language": "^6.12.4",
|
|
97
|
+
"@codemirror/state": "^6.7.1",
|
|
98
|
+
"@codemirror/view": "^6.43.6",
|
|
99
|
+
"@lezer/highlight": "^1.2.3",
|
|
100
|
+
"@types/node": "^26.1.1",
|
|
101
|
+
"@types/react": "^18.0.0 || ^19.0.0",
|
|
102
|
+
"@uiw/react-codemirror": "^4.25.11",
|
|
103
|
+
"tsup": "^8.0.0",
|
|
104
|
+
"typescript": "^5.0.0"
|
|
105
|
+
}
|
|
106
|
+
}
|