@skitee3000/bun-pty
Version:
Cross-platform pseudoterminal (PTY) implementation for Bun with native performance
61 lines • 1.55 kB
JSON
{
"name": "@skitee3000/bun-pty",
"version": "0.3.3",
"description": "Cross-platform pseudoterminal (PTY) implementation for Bun with native performance",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/SkiTee3000/bun-pty.git"
},
"license": "MIT",
"keywords": [
"bun",
"pty",
"terminal",
"pseudoterminal",
"shell",
"tty",
"ffi",
"rust",
"console",
"cli",
"node-pty",
"cross-platform",
"native",
"performance"
],
"scripts": {
"prepare": "bun run build",
"prepack": "bun run build",
"build:rust": "cd rust-pty && cargo build --release",
"build:ts": "bun build ./src/index.ts --outdir ./dist --target bun --declaration --external bun:ffi && tsc --emitDeclarationOnly --declaration --outDir dist",
"build": "bun run build:rust && bun run build:ts",
"test": "bun test",
"test:unit": "bun test src/terminal.test.ts",
"test:integration": "RUN_INTEGRATION_TESTS=true bun test src/terminal.integration.test.ts",
"test:all": "bun run test:unit && bun run test:integration",
"clean": "rm -rf ./dist && cd rust-pty && cargo clean"
},
"engines": {
"bun": ">=1.0.0"
},
"files": [
"dist/**/*",
"README.md",
"LICENSE",
"CHANGELOG.md",
"rust-pty/target/release/*.so",
"rust-pty/target/release/*.dylib",
"rust-pty/target/release/*.dll"
],
"devDependencies": {
"@types/bun": "^1.2.13",
"@types/node": "^22.15.18",
"typescript": "^5.8.3"
},
"publishConfig": {
"access": "public"
}
}