Files
anomalyco__opentui/packages/native/package.json
T
Simon Klee 6dec16a77c native: move Zig sources into packages/native (#1391)
Separate the native implementation from the TypeScript bindings. Keep
core on
the public bindings and keep the current native artifact packages and
release
workflows.

packages/native owns the Zig source, tests, benches, and vendor updates.
The
package is private and unpublished for now Core still packages the
@opentui/core-* artifacts. build:native, test:native, and bench:native
still
work from core and delegate to native.

Expose a Zig import root and a no-JS hello example for proof of concept,
not a focus point, just a smoke test.
2026-08-20 11:34:03 +02:00

14 lines
378 B
JSON

{
"name": "@opentui/native",
"version": "0.5.4",
"private": true,
"scripts": {
"build": "zig build -Doptimize=ReleaseFast",
"build:dev": "zig build -Doptimize=Debug",
"test": "sh scripts/test.sh",
"bench": "zig build bench -Dbench-optimize=ReleaseFast --",
"bench:ffi": "zig build bench-ffi",
"clean": "bun ../../scripts/clean.ts --native"
}
}