singularity-forge/packages/native/package.json
Lex Christopherson fab9ad390d feat: add native clipboard module with arboard backend
Cross-platform clipboard access (text read/write, image read) via the
arboard Rust crate. No external tools (pbcopy, xclip, etc.) required.

Ported from Oh My Pi's clipboard module with adaptations for GSD's
architecture (direct AsyncTask instead of task::blocking wrapper).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-13 12:36:23 -06:00

31 lines
823 B
JSON

{
"name": "@gsd/native",
"version": "0.1.0",
"description": "Native Rust bindings for GSD — high-performance grep and clipboard via N-API",
"type": "module",
"main": "./src/index.ts",
"types": "./src/index.ts",
"scripts": {
"build:native": "node ../../native/scripts/build.js",
"build:native:dev": "node ../../native/scripts/build.js --dev",
"test": "node --test src/__tests__/grep.test.mjs src/__tests__/clipboard.test.mjs"
},
"exports": {
".": {
"types": "./src/index.ts",
"import": "./src/index.ts"
},
"./grep": {
"types": "./src/grep/index.ts",
"import": "./src/grep/index.ts"
},
"./clipboard": {
"types": "./src/clipboard/index.ts",
"import": "./src/clipboard/index.ts"
}
},
"files": [
"src"
],
"license": "MIT"
}