Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
96 lines (96 loc) · 2.47 KB
/
Copy pathpackage.json
File metadata and controls
96 lines (96 loc) · 2.47 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
{
"name": "@snomiao/rgui",
"version": "0.3.0",
"description": "Framework-agnostic readable-grid UI library — screen-adaptive grid, snap-everything, semantic-zoom LOD node graphs. Canvas 2D now, WebGPU next.",
"type": "module",
"license": "MIT",
"author": "snomiao <snomiao@gmail.com>",
"homepage": "https://github.com/snomiao/rgui#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/snomiao/rgui.git"
},
"bugs": {
"url": "https://github.com/snomiao/rgui/issues"
},
"keywords": [
"canvas",
"canvas2d",
"node-graph",
"node-editor",
"graph-editor",
"semantic-zoom",
"level-of-detail",
"lod",
"grid",
"snap-to-grid",
"infinite-canvas",
"pan-zoom",
"d3",
"d3-zoom",
"graph-visualization",
"dataflow",
"webgpu",
"framework-agnostic",
"readable-grid"
],
"sideEffects": false,
"main": "./dist/rgui.js",
"module": "./dist/rgui.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/rgui.js",
"default": "./dist/rgui.js"
},
"./gantt": {
"types": "./src/gantt/index.ts",
"import": "./dist/gantt.js",
"default": "./dist/gantt.js"
},
"./gantt/canvas": {
"types": "./src/gantt/canvas.ts",
"import": "./dist/gantt-canvas.js",
"default": "./dist/gantt-canvas.js"
},
"./gantt/src": "./src/gantt/index.ts",
"./gantt/canvas/src": "./src/gantt/canvas.ts",
"./src": "./src/index.ts",
"./package.json": "./package.json"
},
"files": [
"dist",
"src"
],
"engines": {
"node": ">=18"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"dev": "vite",
"build": "tsgo --noEmit && vite build",
"build:lib": "vite build --config vite.lib.config.ts && tsgo -p tsconfig.build.json",
"typecheck": "tsgo --noEmit",
"preview": "vite preview --strictPort --port 5184",
"preview:fresh": "bun run build && vite preview --strictPort --port 5184",
"prepublishOnly": "bun run build:lib"
},
"devDependencies": {
"@happy-dom/global-registrator": "^20.10.6",
"@types/bun": "latest",
"@types/d3-selection": "^3.0.11",
"@types/d3-zoom": "^3.0.8",
"@types/three": "^0.185.1",
"@typescript/native-preview": "^7.0.0-dev.20260707.2",
"@webgpu/types": "^0.1.71",
"vite": "^8.1.3"
},
"dependencies": {
"d3-selection": "^3.0.0",
"d3-zoom": "^3.0.0",
"three": "^0.185.1"
}
}