2025-08-18 23:12:30 +01:00
|
|
|
{
|
|
|
|
|
"name": "@opentui/react",
|
2026-09-07 10:42:03 +00:00
|
|
|
"version": "0.5.11",
|
2025-08-19 00:57:18 +02:00
|
|
|
"description": "React renderer for building terminal user interfaces using OpenTUI core",
|
|
|
|
|
"license": "MIT",
|
|
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
2026-01-11 12:35:22 -08:00
|
|
|
"url": "https://github.com/anomalyco/opentui",
|
2025-08-19 00:57:18 +02:00
|
|
|
"directory": "packages/react"
|
|
|
|
|
},
|
2025-08-18 23:12:30 +01:00
|
|
|
"module": "src/index.ts",
|
|
|
|
|
"type": "module",
|
|
|
|
|
"private": true,
|
|
|
|
|
"main": "src/index.ts",
|
|
|
|
|
"exports": {
|
|
|
|
|
".": {
|
|
|
|
|
"import": "./src/index.ts",
|
|
|
|
|
"types": "./src/index.ts"
|
|
|
|
|
},
|
2025-11-12 20:27:22 +00:00
|
|
|
"./test-utils": {
|
|
|
|
|
"import": "./src/test-utils.ts",
|
|
|
|
|
"types": "./src/test-utils.d.ts"
|
|
|
|
|
},
|
2026-03-12 12:03:20 +01:00
|
|
|
"./runtime-plugin-support": {
|
|
|
|
|
"import": "./scripts/runtime-plugin-support.ts",
|
|
|
|
|
"types": "./scripts/runtime-plugin-support.ts"
|
|
|
|
|
},
|
2026-05-01 21:01:19 +02:00
|
|
|
"./runtime-plugin-support/configure": {
|
|
|
|
|
"import": "./scripts/runtime-plugin-support-configure.ts",
|
|
|
|
|
"types": "./scripts/runtime-plugin-support-configure.ts"
|
|
|
|
|
},
|
2025-08-18 23:12:30 +01:00
|
|
|
"./jsx-runtime": {
|
|
|
|
|
"import": "./jsx-runtime.js",
|
|
|
|
|
"types": "./jsx-runtime.d.ts"
|
|
|
|
|
},
|
|
|
|
|
"./jsx-dev-runtime": {
|
|
|
|
|
"import": "./jsx-dev-runtime.js",
|
|
|
|
|
"types": "./jsx-dev-runtime.d.ts"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"scripts": {
|
2025-08-19 00:57:18 +02:00
|
|
|
"build": "bun run scripts/build.ts",
|
2026-03-12 12:03:20 +01:00
|
|
|
"build:examples": "bun examples/build.ts",
|
2025-08-19 00:57:18 +02:00
|
|
|
"build:dev": "bun run scripts/build.ts --dev",
|
|
|
|
|
"publish": "bun run scripts/publish.ts",
|
2025-08-19 19:45:36 +02:00
|
|
|
"test": "bun test"
|
2025-08-18 23:12:30 +01:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2026-04-28 02:10:37 +02:00
|
|
|
"@opentui/keymap": "workspace:*",
|
2026-09-04 21:09:49 +02:00
|
|
|
"@types/bun": "1.4.1",
|
2025-12-11 16:36:48 +01:00
|
|
|
"@types/node": "^24.0.0",
|
2026-05-04 01:57:22 +01:00
|
|
|
"@types/react": "^19.2.0",
|
|
|
|
|
"@types/react-reconciler": "^0.33.0",
|
2025-12-28 20:54:20 +00:00
|
|
|
"@types/ws": "^8.18.1",
|
2026-05-04 01:57:22 +01:00
|
|
|
"react": ">=19.2.0",
|
2025-12-28 20:54:20 +00:00
|
|
|
"react-devtools-core": "^7.0.1",
|
|
|
|
|
"typescript": "^5",
|
|
|
|
|
"ws": "^8.18.0"
|
2025-08-18 23:12:30 +01:00
|
|
|
},
|
|
|
|
|
"peerDependencies": {
|
2026-05-04 01:57:22 +01:00
|
|
|
"react": ">=19.2.0",
|
2025-12-28 20:54:20 +00:00
|
|
|
"react-devtools-core": "^7.0.1",
|
|
|
|
|
"ws": "^8.18.0"
|
|
|
|
|
},
|
|
|
|
|
"peerDependenciesMeta": {
|
|
|
|
|
"react-devtools-core": {
|
|
|
|
|
"optional": true
|
|
|
|
|
},
|
|
|
|
|
"ws": {
|
|
|
|
|
"optional": true
|
|
|
|
|
}
|
2025-08-18 23:12:30 +01:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
2025-08-19 00:57:18 +02:00
|
|
|
"@opentui/core": "workspace:*",
|
2026-05-04 01:57:22 +01:00
|
|
|
"react-reconciler": "^0.33.0"
|
2025-08-18 23:12:30 +01:00
|
|
|
}
|
|
|
|
|
}
|