mirror of
https://github.com/anomalyco/opentui.git
synced 2026-09-19 01:26:03 +08:00
79 lines
2.2 KiB
JSON
79 lines
2.2 KiB
JSON
{
|
|
"name": "@opentui/core",
|
|
"description": "OpenTUI is a TypeScript library for building terminal user interfaces (TUIs)",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/sst/opentui",
|
|
"directory": "packages/core"
|
|
},
|
|
"types": "src/index.ts",
|
|
"module": "src/index.ts",
|
|
"main": "src/index.ts",
|
|
"version": "0.1.60",
|
|
"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",
|
|
"build:examples": "bun src/examples/build.ts",
|
|
"test:native": "cd src/zig && zig build test --summary all",
|
|
"bench:native": "cd src/zig && zig build bench -Doptimize=ReleaseFast --",
|
|
"publish": "bun scripts/publish.ts",
|
|
"test:js": "bun test",
|
|
"test": "bun run test:native && bun run test:js"
|
|
},
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@types/bun": "latest",
|
|
"@types/node": "^24.0.0",
|
|
"@types/three": "0.177.0",
|
|
"commander": "^13.1.0",
|
|
"typescript": "^5",
|
|
"web-tree-sitter": "0.25.10"
|
|
},
|
|
"dependencies": {
|
|
"bun-ffi-structs": "0.1.2",
|
|
"diff": "8.0.2",
|
|
"jimp": "1.6.0",
|
|
"yoga-layout": "3.2.1"
|
|
},
|
|
"peerDependencies": {
|
|
"web-tree-sitter": "0.25.10"
|
|
},
|
|
"optionalDependencies": {
|
|
"@dimforge/rapier2d-simd-compat": "^0.17.3",
|
|
"bun-webgpu": "0.1.4",
|
|
"planck": "^1.4.2",
|
|
"three": "0.177.0",
|
|
"@opentui/core-darwin-x64": "0.1.60",
|
|
"@opentui/core-darwin-arm64": "0.1.60",
|
|
"@opentui/core-linux-x64": "0.1.60",
|
|
"@opentui/core-linux-arm64": "0.1.60",
|
|
"@opentui/core-win32-x64": "0.1.60",
|
|
"@opentui/core-win32-arm64": "0.1.60"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./src/index.ts",
|
|
"import": "./src/index.ts"
|
|
},
|
|
"./3d": {
|
|
"types": "./src/3d.ts",
|
|
"import": "./src/3d.ts"
|
|
},
|
|
"./testing": {
|
|
"types": "./src/testing.ts",
|
|
"import": "./src/testing.ts"
|
|
},
|
|
"./parser.worker": {
|
|
"types": "./src/lib/tree-sitter/parser.worker.ts",
|
|
"import": "./src/lib/tree-sitter/parser.worker.ts"
|
|
}
|
|
},
|
|
"engines": {
|
|
"bun": ">=1.2.0"
|
|
}
|
|
}
|