mirror of
https://github.com/anomalyco/opentui.git
synced 2026-09-19 01:26:03 +08:00
6dec16a77c
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.
14 lines
378 B
JSON
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"
|
|
}
|
|
}
|