-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 3.28 KB
/
package.json
File metadata and controls
77 lines (77 loc) · 3.28 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
{
"name": "@honeide/terminal",
"version": "0.1.0",
"description": "Cross-platform terminal emulator component for Perry applications",
"main": "core/index.ts",
"types": "core/index.ts",
"exports": {
".": "./core/index.ts",
"./perry": "./perry/index.ts",
"./perry/live": "./perry/live.ts"
},
"scripts": {
"test": "bun test",
"test:watch": "bun test --watch"
},
"keywords": ["terminal", "emulator", "vt100", "xterm", "perry", "native"],
"license": "MIT",
"devDependencies": {
"@types/bun": "latest",
"typescript": "^5.7.0"
},
"perry": {
"nativeLibrary": {
"module": "@honeide/terminal",
"functions": [
{ "name": "hone_terminal_create", "params": ["i32", "i32"], "returns": "i64" },
{ "name": "hone_terminal_destroy", "params": ["i64"], "returns": "void" },
{ "name": "hone_terminal_set_font", "params": ["i64", "i64", "f64"], "returns": "void" },
{ "name": "hone_terminal_render_cells", "params": ["i64", "i64", "i32", "i32"], "returns": "void" },
{ "name": "hone_terminal_set_cursor", "params": ["i64", "i32", "i32", "i32", "i32"], "returns": "void" },
{ "name": "hone_terminal_resize", "params": ["i64", "f64", "f64"], "returns": "i64" },
{ "name": "hone_terminal_set_selection", "params": ["i64", "i64"], "returns": "void" },
{ "name": "hone_terminal_scroll", "params": ["i64", "i32"], "returns": "void" },
{ "name": "hone_terminal_set_theme", "params": ["i64", "i64"], "returns": "void" },
{ "name": "hone_terminal_get_cell_size", "params": ["i64", "i64", "i64"], "returns": "void" },
{ "name": "hone_terminal_show_demo", "params": [], "returns": "void" },
{ "name": "hone_terminal_open", "params": ["f64", "f64", "i64", "i64"], "returns": "i64" },
{ "name": "hone_terminal_nsview", "params": ["i64"], "returns": "i64" },
{ "name": "hone_terminal_poll", "params": ["i64"], "returns": "i64" },
{ "name": "hone_terminal_write", "params": ["i64", "i64"], "returns": "i64" },
{ "name": "hone_terminal_close", "params": ["i64"], "returns": "i64" },
{ "name": "hone_terminal_live_set_theme", "params": ["i64", "i64"], "returns": "void" },
{ "name": "hone_terminal_set_bg_fg", "params": ["i64", "f64", "f64", "f64", "f64", "f64", "f64"], "returns": "void" }
],
"targets": {
"macos": {
"crate": "native/macos/",
"lib": "libhone_terminal_macos.a",
"frameworks": ["CoreText", "CoreGraphics", "CoreFoundation", "Metal", "QuartzCore"]
},
"ios": {
"crate": "native/ios/",
"lib": "libhone_terminal_ios.a",
"frameworks": ["CoreText", "CoreGraphics", "CoreFoundation", "UIKit"]
},
"windows": {
"crate": "native/windows/",
"lib": "hone_terminal_windows.lib",
"libs": ["dwrite", "d2d1", "dcomp"]
},
"linux": {
"crate": "native/linux/",
"lib": "libhone_terminal_linux.a",
"pkgConfig": ["pango", "pangocairo", "cairo", "x11"]
},
"android": {
"crate": "native/android/",
"lib": "libhone_terminal_android.a"
},
"web": {
"crate": "native/web/",
"lib": "hone_terminal_web.wasm"
}
}
}
}
}