Files
anomalyco__opentui/packages/core/package.json
T

67 lines
1.8 KiB
JSON
Raw Normal View History

2025-08-15 13:03:59 +02:00
{
"name": "@opentui/core",
"description": "OpenTUI is a TypeScript library for building terminal user interfaces (TUIs)",
"repository": {
"type": "git",
2025-08-19 00:57:18 +02:00
"url": "https://github.com/sst/opentui",
"directory": "packages/core"
2025-08-15 13:03:59 +02:00
},
"types": "src/index.ts",
"module": "src/index.ts",
2025-08-17 23:14:21 +02:00
"main": "src/index.ts",
2025-09-23 23:18:20 +02:00
"version": "0.1.25",
2025-08-15 13:03:59 +02:00
"type": "module",
"scripts": {
"build:dev": "cd src/zig && zig build -Doptimize=Debug",
"build:prod": "cd src/zig && zig build -Doptimize=ReleaseFast",
"build": "bun run build:native && bun run build:lib",
"build:lib": "bun scripts/build.ts --lib",
"build:native": "bun scripts/build.ts --native",
"test:native": "cd src/zig && zig build test --summary all",
2025-09-10 08:57:39 +02:00
"publish": "bun scripts/publish.ts",
"test:js": "bun test",
"test": "bun run test:native && bun run test:js"
2025-08-15 13:03:59 +02:00
},
"license": "MIT",
"devDependencies": {
"@types/bun": "latest",
2025-08-20 23:04:07 +02:00
"@types/three": "0.177.0",
"commander": "^13.1.0",
2025-08-15 13:03:59 +02:00
"typescript": "^5"
},
"dependencies": {
"jimp": "1.6.0",
2025-09-30 21:06:48 +02:00
"web-tree-sitter": "^0.26.0",
2025-08-15 13:03:59 +02:00
"yoga-layout": "3.2.1"
},
"optionalDependencies": {
"@dimforge/rapier2d-simd-compat": "^0.17.3",
"bun-webgpu": "0.1.3",
"planck": "^1.4.2",
"three": "0.177.0",
2025-09-23 23:18:20 +02:00
"@opentui/core-darwin-x64": "0.1.25",
"@opentui/core-darwin-arm64": "0.1.25",
"@opentui/core-linux-x64": "0.1.25",
"@opentui/core-linux-arm64": "0.1.25",
"@opentui/core-win32-x64": "0.1.25",
"@opentui/core-win32-arm64": "0.1.25"
2025-08-15 13:03:59 +02:00
},
2025-09-17 10:10:07 +02:00
"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"
}
},
2025-08-15 13:03:59 +02:00
"engines": {
"bun": ">=1.2.0"
}
}