-
Notifications
You must be signed in to change notification settings - Fork 618
Expand file tree
/
Copy pathpackage.json
More file actions
98 lines (98 loc) · 3.63 KB
/
Copy pathpackage.json
File metadata and controls
98 lines (98 loc) · 3.63 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
{
"name": "@opentui/core",
"description": "OpenTUI is a TypeScript library on a native Zig core for building terminal user interfaces (TUIs)",
"repository": {
"type": "git",
"url": "https://github.com/anomalyco/opentui",
"directory": "packages/core"
},
"types": "src/index.ts",
"module": "src/index.ts",
"main": "src/index.ts",
"version": "0.4.1",
"type": "module",
"scripts": {
"build": "bun run build:native && bun run build:lib",
"build:dev": "bun run build:native:dev && bun run build:lib",
"build:lib": "bun scripts/build.ts --lib",
"build:native": "bun scripts/build.ts --native",
"build:native:dev": "bun scripts/build.ts --native --dev",
"test:native": "cd src/zig && zig build test --summary all",
"bench:native": "cd src/zig && zig build bench -Dbench-optimize=ReleaseFast --",
"bench:layout": "bun src/benchmark/layout-benchmark.ts",
"bench:box-draw": "bun src/benchmark/box-draw-benchmark.ts",
"bench:text-table": "bun src/benchmark/text-table-benchmark.ts",
"bench:ts": "bun src/benchmark/native-span-feed-benchmark.ts --suite=quick --json=src/benchmark/latest-quick-bench-run.json && bun src/benchmark/native-span-feed-benchmark.ts --suite=default --json=src/benchmark/latest-default-bench-run.json && bun src/benchmark/native-span-feed-benchmark.ts --suite=large --json=src/benchmark/latest-large-bench-run.json && bun src/benchmark/native-span-feed-benchmark.ts --suite=all --json=src/benchmark/latest-all-bench-run.json && bun src/benchmark/native-span-feed-async-benchmark.ts --json=src/benchmark/latest-async-bench-run.json",
"publish": "bun scripts/publish.ts",
"test:dist": "bun scripts/dist-test.ts",
"test:js": "bun test",
"test:js:node": "bun scripts/test-node.ts",
"test": "bun run test:native && bun run test:js"
},
"license": "MIT",
"devDependencies": {
"@opentui/keymap": "workspace:*",
"@types/bun": "latest",
"@types/node": "^24.0.0",
"commander": "^13.1.0",
"typescript": "^5",
"web-tree-sitter": "0.25.10"
},
"dependencies": {
"bun-ffi-structs": "0.2.3",
"diff": "9.0.0",
"marked": "17.0.1",
"string-width": "7.2.0",
"strip-ansi": "7.1.2"
},
"peerDependencies": {
"web-tree-sitter": "0.25.10"
},
"optionalDependencies": {
"@opentui/core-darwin-x64": "0.4.1",
"@opentui/core-darwin-arm64": "0.4.1",
"@opentui/core-linux-x64": "0.4.1",
"@opentui/core-linux-arm64": "0.4.1",
"@opentui/core-win32-x64": "0.4.1",
"@opentui/core-win32-arm64": "0.4.1",
"@opentui/core-linux-x64-musl": "0.4.1",
"@opentui/core-linux-arm64-musl": "0.4.1"
},
"exports": {
".": {
"types": "./src/index.ts",
"import": "./src/index.ts"
},
"./testing": {
"types": "./src/testing.ts",
"import": "./src/testing.ts"
},
"./runtime-plugin": {
"types": "./src/runtime-plugin.ts",
"import": "./src/runtime-plugin.ts"
},
"./runtime-plugin-support": {
"types": "./src/runtime-plugin-support.ts",
"import": "./src/runtime-plugin-support.ts"
},
"./runtime-plugin-support/configure": {
"types": "./src/runtime-plugin-support-configure.ts",
"import": "./src/runtime-plugin-support-configure.ts"
},
"./yoga": {
"types": "./src/yoga.ts",
"import": "./src/yoga.ts"
},
"./tree-sitter/update-assets": {
"types": "./src/lib/tree-sitter/update-assets.ts",
"import": "./src/lib/tree-sitter/update-assets.ts"
},
"./parser.worker": {
"types": "./src/lib/tree-sitter/parser.worker.ts",
"import": "./src/lib/tree-sitter/parser.worker.ts"
}
},
"engines": {
"bun": ">=1.3.0"
}
}