-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
111 lines (111 loc) · 2.88 KB
/
Copy pathpackage.json
File metadata and controls
111 lines (111 loc) · 2.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "docucraft",
"version": "1.2.1",
"description": "Docucraft is an open source component library of reusable React components for Docusaurus.",
"keywords": [
"docusaurus",
"docucraft",
"components",
"library",
"opensource",
"mermaid",
"react",
"diagram",
"classdiagram",
"classgraph",
"repository-explorer",
"repository-map",
"solution-explorer",
"reactflow",
"pan",
"zoom",
"fullscreen",
"export"
],
"homepage": "https://github.com/MrShasha/docucraft",
"repository": {
"type": "git",
"url": "git+https://github.com/MrShasha/docucraft.git"
},
"bugs": {
"url": "https://github.com/MrShasha/docucraft/issues"
},
"license": "MIT",
"author": "Jiří Šašek",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"./mermaid": {
"types": "./dist/components/MermaidDiagram/index.d.ts",
"import": "./dist/components/MermaidDiagram/index.js",
"default": "./dist/components/MermaidDiagram/index.js"
},
"./class-diagram": {
"types": "./dist/components/ClassDiagram/index.d.ts",
"import": "./dist/components/ClassDiagram/index.js",
"default": "./dist/components/ClassDiagram/index.js"
},
"./class-graph": {
"types": "./dist/components/ClassDiagram/index.d.ts",
"import": "./dist/components/ClassDiagram/index.js",
"default": "./dist/components/ClassDiagram/index.js"
},
"./repository-explorer": {
"types": "./dist/components/RepositoryExplorer/index.d.ts",
"import": "./dist/components/RepositoryExplorer/index.js",
"default": "./dist/components/RepositoryExplorer/index.js"
}
},
"files": [
"dist",
"README.md",
"LICENSE",
"NOTICE",
"CONTRIBUTING.md",
"CODE_OF_CONDUCT.md"
],
"sideEffects": [
"**/*.css"
],
"publishConfig": {
"access": "public",
"provenance": false,
"tag": "latest"
},
"engines": {
"node": ">=18.0"
},
"scripts": {
"clean": "rimraf dist",
"typecheck": "tsc --noEmit -p tsconfig.build.json",
"build:ts": "tsc -p tsconfig.build.json",
"build:css": "copyfiles -u 1 \"src/**/*.module.css\" dist",
"build": "npm-run-all clean build:ts build:css",
"prepublishOnly": "npm-run-all typecheck build",
"pack:check": "npm pack --dry-run"
},
"peerDependencies": {
"@docusaurus/theme-mermaid": ">=3.0.0",
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
"dependencies": {
"@dagrejs/dagre": "^3.0.0",
"@xyflow/react": "^12.8.5",
"canvg": "^4.0.3"
},
"devDependencies": {
"@types/react": "^19.0.0",
"copyfiles": "^2.4.1",
"npm-run-all": "^4.1.5",
"rimraf": "^6.0.1",
"typescript": "~6.0.2"
}
}