Files
t3tui/package.json
T
callumalpass f54ea6ad42 Bundle tui3 into dist/ and run the bundle
Running the TypeScript sources makes Bun compile and keep hundreds of
vendored modules, which cost 110-130 MB at startup. scripts/build.ts
bundles bin.ts and OpenTUI's syntax-highlighting worker into dist/;
bun install builds it, bun run build rebuilds it, and the tui3 bin runs
it. bun run dev still runs the sources.
2026-11-03 00:23:45 +11:00

37 lines
880 B
JSON

{
"name": "tui3",
"version": "0.0.1",
"private": true,
"type": "module",
"bin": {
"tui3": "./dist/bin.js"
},
"scripts": {
"dev": "bun run src/bin.ts",
"build": "bun run scripts/build.ts",
"typecheck": "tsc --noEmit",
"lint": "biome lint src test",
"test": "bun test",
"postinstall": "bun run scripts/link-vendor.ts && bun run scripts/build.ts"
},
"dependencies": {
"@opentui/core": "0.2.7",
"@opentui/react": "0.2.7",
"diff": "9.0.0",
"effect": "4.0.5",
"mdast-util-directive": "^3.2.0",
"micromark-extension-directive": "^4.0.0",
"react": "19",
"remark-parse": "^11.0.0",
"zustand": "5.0.11"
},
"devDependencies": {
"@biomejs/biome": "2.5.15",
"@noble/hashes": "1.8.0",
"@types/bun": "latest",
"@types/react": "^19.3.0",
"jose": "^6.2.14",
"typescript": "^5.9.0"
}
}