@anlijiu/markmap 1.0.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/LICENSE +21 -0
- package/README.md +6 -0
- package/dist/markmap.core.mjs +43979 -0
- package/dist/markmap.core.mjs.map +7 -0
- package/dist/markmap.js +43988 -0
- package/dist/markmap.js.map +7 -0
- package/package.json +106 -0
package/package.json
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@anlijiu/markmap",
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "A code library for render markmap to svg",
|
|
5
|
+
"module": "./dist/markmap.core.mjs",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": {
|
|
8
|
+
"import": "./dist/markmap.core.mjs",
|
|
9
|
+
"default": "./dist/markmap.core.mjs"
|
|
10
|
+
},
|
|
11
|
+
"./*": "./*"
|
|
12
|
+
},
|
|
13
|
+
"type": "module",
|
|
14
|
+
"keywords": [],
|
|
15
|
+
"author": "anlijiu@gmail.com",
|
|
16
|
+
"license": "MIT",
|
|
17
|
+
"wireit": {
|
|
18
|
+
"start": {
|
|
19
|
+
"command": "node ./dist",
|
|
20
|
+
"dependencies": [
|
|
21
|
+
"script:build",
|
|
22
|
+
"build"
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
"dev": {
|
|
26
|
+
"command": "node scripts/build.mjs -d",
|
|
27
|
+
"dependencies": [
|
|
28
|
+
"script:build",
|
|
29
|
+
"build"
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
"build": {
|
|
33
|
+
"command": "node scripts/build.mjs",
|
|
34
|
+
"dependencies": [
|
|
35
|
+
"script:build"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"build:types": {
|
|
39
|
+
"command": "tsc --emitDeclarationOnly --outDir dist/types"
|
|
40
|
+
},
|
|
41
|
+
"build:watch": {
|
|
42
|
+
"command": "node scripts/build.mjs -w",
|
|
43
|
+
"dependencies": [
|
|
44
|
+
"script:build"
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
"script:build": {
|
|
48
|
+
"command": "esbuild scripts/*.mts --outdir=scripts --target=node20 --supported:top-level-await=true --out-extension:.js=.mjs"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"@types/cytoscape": "^3.21.9",
|
|
53
|
+
"@types/d3-selection": "^3.0.11",
|
|
54
|
+
"@types/dompurify": "^3.0.5",
|
|
55
|
+
"@types/jest": "^29.5.14",
|
|
56
|
+
"@types/lodash": "^4.17.17",
|
|
57
|
+
"@types/lodash.uppercase": "^4.3.9",
|
|
58
|
+
"@types/node": "^22.15.29",
|
|
59
|
+
"@types/nodemon": "^1.19.6",
|
|
60
|
+
"esbuild": "^0.25.5",
|
|
61
|
+
"esbuild-node-externals": "^1.18.0",
|
|
62
|
+
"jest": "^29.7.0",
|
|
63
|
+
"nodemon": "^3.1.10",
|
|
64
|
+
"rimraf": "^6.0.1",
|
|
65
|
+
"ts-jest": "^29.3.4",
|
|
66
|
+
"type-fest": "^4.41.0",
|
|
67
|
+
"typescript": "^5.8.3",
|
|
68
|
+
"wireit": "^0.14.12"
|
|
69
|
+
},
|
|
70
|
+
"dependencies": {
|
|
71
|
+
"@astrojs/markdown-remark": "^6.3.2",
|
|
72
|
+
"bezier-js": "^6.1.4",
|
|
73
|
+
"cytoscape": "^3.32.0",
|
|
74
|
+
"cytoscape-cose-bilkent": "^4.1.0",
|
|
75
|
+
"d3-hierarchy": "^3.1.2",
|
|
76
|
+
"d3-selection": "^3.0.0",
|
|
77
|
+
"d3-shape": "^3.2.0",
|
|
78
|
+
"dompurify": "^3.2.6",
|
|
79
|
+
"hast-util-to-html": "^9.0.5",
|
|
80
|
+
"hast-util-to-text": "^4.0.2",
|
|
81
|
+
"khroma": "^2.1.0",
|
|
82
|
+
"rehype-katex": "^7.0.1",
|
|
83
|
+
"rehype-mathjax": "^7.1.0",
|
|
84
|
+
"remark-math": "^6.0.0",
|
|
85
|
+
"remark-parse": "^11.0.0",
|
|
86
|
+
"stylis": "^4.3.6",
|
|
87
|
+
"unified": "^11.0.5",
|
|
88
|
+
"unist-util-visit": "^5.0.0",
|
|
89
|
+
"vfile": "^6.0.3"
|
|
90
|
+
},
|
|
91
|
+
"repository": {
|
|
92
|
+
"type": "git",
|
|
93
|
+
"url": "https://github.com/anlijiu/remark-markmap.git"
|
|
94
|
+
},
|
|
95
|
+
"scripts": {
|
|
96
|
+
"start": "wireit",
|
|
97
|
+
"dev": "wireit",
|
|
98
|
+
"build": "wireit",
|
|
99
|
+
"build:watch": "wireit",
|
|
100
|
+
"build:types": "wireit",
|
|
101
|
+
"script:build": "wireit",
|
|
102
|
+
"test": "jest",
|
|
103
|
+
"test:watch": "jest --watch",
|
|
104
|
+
"clean": "rimraf dist coverage .wireit dist scripts/build.mjs node_modules"
|
|
105
|
+
}
|
|
106
|
+
}
|