-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 2.76 KB
/
Copy pathpackage.json
File metadata and controls
87 lines (87 loc) · 2.76 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
{
"name": "@mieweb/ychart",
"version": "1.2.14",
"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",
"./ychart.css": "./dist/ychart.css",
"./ychart-editor.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 && sudo rm -rf /var/www/html/dist && sudo mkdir -p /var/www/html/dist && sudo 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 | sudo tee /var/www/html/index.html > /dev/null",
"preview": "vite preview",
"serve:dist": "vite preview --outDir dist"
},
"devDependencies": {
"@types/d3": "^7.4.3",
"@types/js-yaml": "^4.0.9",
"@types/node": "^24.12.4",
"@vitejs/plugin-basic-ssl": "^2.3.0",
"sass": "1.100.0",
"terser": "5.48.0",
"typescript": "~5.9.3",
"vite": "^7.3.1"
},
"dependencies": {
"@codemirror/lang-yaml": "^6.1.2",
"@codemirror/lint": "6.9.5",
"@codemirror/state": "^6.5.2",
"@codemirror/theme-one-dark": "^6.1.3",
"@codemirror/view": "^6.41.0",
"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"
}
}