{
  "name": "ghostty-opentui",
  "version": "1.5.0",
  "type": "module",
  "description": "Fast ANSI/VT terminal parser powered by Ghostty's Zig terminal emulation library",
  "scripts": {
    "dev": "bun --watch run tui/example.tsx",
    "build": "tsc && cp src/native-lib.cjs src/native-lib.d.cts dist/",
    "build:zig": "zig build",
    "prepublishOnly": "[ -n \"$CI\" ] || (echo 'Error: Do not publish locally. Bump the version and let CI publish it.' && exit 1)",
    "test": "bun test",
    "bench": "vitest bench --run"
  },
  "exports": {
    ".": {
      "types": "./dist/ffi.d.ts",
      "bun": "./src/ffi.ts",
      "require": "./dist/ffi.js",
      "default": "./dist/ffi.js"
    },
    "./terminal-buffer": {
      "types": "./dist/terminal-buffer.d.ts",
      "bun": "./src/terminal-buffer.ts",
      "require": "./dist/terminal-buffer.js",
      "default": "./dist/terminal-buffer.js"
    },
    "./opentui": {
      "types": "./dist/terminal-buffer.d.ts",
      "bun": "./src/terminal-buffer.ts",
      "require": "./dist/terminal-buffer.js",
      "default": "./dist/terminal-buffer.js"
    },
    "./image": {
      "types": "./dist/image.d.ts",
      "bun": "./src/image.ts",
      "require": "./dist/image.js",
      "default": "./dist/image.js"
    }
  },
  "files": [
    "dist",
    "src",
    "public"
  ],
  "keywords": ["terminal", "pty", "vt100", "ansi", "ghostty", "opentui", "napi"],
  "author": "remorses",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/remorses/ghostty-opentui"
  },
  "peerDependencies": {
    "@opentui/core": "*"
  },
  "peerDependenciesMeta": {
    "@opentui/core": {
      "optional": true
    }
  },
  "devDependencies": {
    "@opentui/core": "0.1.88",
    "@opentui/react": "0.1.88",
    "@types/node": "^25.2.3",
    "@types/react": "^19.2.14",
    "bun-pty": "0.4.8",
    "bun-types": "^1.3.9",
    "react": "^19.2.3",
    "typescript": "^5.9.3",
    "vitest": "^4.0.16"
  },
  "dependencies": {
    "@resvg/resvg-wasm": "^2.6.2",
    "strip-ansi": "^7.1.2",
    "wcwidth": "^1.0.1"
  }
}
