-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 2.8 KB
/
package.json
File metadata and controls
92 lines (92 loc) · 2.8 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
{
"name": "@mieweb/ychart",
"version": "1.1.0",
"description": "A flexible organizational chart editor with YAML-based data management",
"type": "module",
"main": "./dist/ychart-editor.js",
"types": "./dist/ychartEditor.d.ts",
"style": "./dist/ychart-editor.css",
"exports": {
".": {
"types": "./dist/ychartEditor.d.ts",
"import": "./dist/ychart-editor.js",
"require": "./dist/ychart-editor.js"
},
"./style.css": "./dist/ychart-editor.css"
},
"files": [
"dist"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"engines": {
"node": ">=24.0.0"
},
"keywords": [
"org-chart",
"organizational-chart",
"d3",
"yaml",
"editor",
"visualization",
"hierarchy",
"tree"
],
"author": "MIE <https://mieweb.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/mieweb/ychart.git"
},
"homepage": "https://orgchart.opensource.mieweb.org/",
"bugs": {
"url": "https://github.com/mieweb/ychart/issues"
},
"scripts": {
"dev": "vite",
"dev:https": "vite --mode https",
"build": "tsc && vite build",
"build:lib": "tsc && vite build --mode production",
"build:prod": "pnpm build && mkdir -p /var/www/html/dist && cp -r dist/* /var/www/html/dist/ && COMMIT_HASH=$(git rev-parse --short HEAD) && COMMIT_FULL=$(git rev-parse HEAD) && sed -e \"s/>loading\\.\\.\\.</>$COMMIT_HASH</g\" -e \"s|href=\\\"#\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\" title=\\\"View this commit on GitHub\\\"|href=\\\"https://github.com/mieweb/ychart/commit/$COMMIT_FULL\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\" title=\\\"View commit $COMMIT_HASH on GitHub\\\"|g\" production.html > /var/www/html/index.html",
"preview": "vite preview",
"serve:dist": "vite preview --outDir dist"
},
"devDependencies": {
"@types/d3": "^7.4.3",
"@types/js-yaml": "^4.0.9",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-basic-ssl": "^2.1.0",
"autoprefixer": "^10.4.22",
"postcss": "^8.5.6",
"sass": "^1.96.0",
"tailwindcss": "^4.1.18",
"terser": "^5.44.0",
"typescript": "~5.9.3",
"vite": "^7.1.7"
},
"dependencies": {
"@codemirror/lang-yaml": "^6.1.2",
"@codemirror/lint": "^6.9.2",
"@codemirror/state": "^6.5.2",
"@codemirror/theme-one-dark": "^6.1.3",
"@codemirror/view": "^6.38.6",
"@mieweb/ui": "^0.2.4",
"bootstrap": "^5.3.8",
"codemirror": "^6.0.2",
"d3": "^7.9.0",
"d3-array": "3",
"d3-drag": "^3.0.0",
"d3-flextree": "^2.1.2",
"d3-hierarchy": "3",
"d3-org-chart": "^3.1.1",
"d3-selection": "3",
"d3-shape": "3",
"d3-zoom": "3",
"js-yaml": "^4.1.1",
"react": "^19.1.0",
"react-dom": "^19.1.0"
}
}