Files
oh-my-pi/packages/natives/package.json
T
2026-03-15 17:38:49 +01:00

185 lines
4.0 KiB
JSON

{
"type": "module",
"name": "@oh-my-pi/pi-natives",
"version": "13.12.3",
"description": "Native Rust bindings for grep, clipboard, image processing, syntax highlighting, PTY, and shell operations via N-API",
"homepage": "https://github.com/can1357/oh-my-pi",
"author": "Can Boluk",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/can1357/oh-my-pi.git",
"directory": "packages/natives"
},
"bugs": {
"url": "https://github.com/can1357/oh-my-pi/issues"
},
"keywords": [
"napi",
"rust",
"native",
"grep",
"text-processing",
"clipboard",
"image",
"pty",
"shell",
"syntax-highlighting"
],
"main": "./src/index.ts",
"types": "./src/index.ts",
"scripts": {
"build:native": "bun scripts/build-native.ts",
"dev:native": "bun scripts/build-native.ts --dev",
"embed:native": "bun scripts/embed-native.ts",
"check": "biome check . && tsgo -p tsconfig.json",
"fix": "biome check --write --unsafe .",
"test": "bun run build:native && bun test",
"bench": "bun bench/grep.ts"
},
"dependencies": {
"@oh-my-pi/pi-utils": "workspace:*"
},
"devDependencies": {
"@types/bun": "^1.3"
},
"engines": {
"bun": ">=1.3.7"
},
"files": [
"src",
"native",
"README.md"
],
"exports": {
".": {
"types": "./src/index.ts",
"import": "./src/index.ts"
},
"./*": {
"types": "./src/*.ts",
"import": "./src/*.ts"
},
"./appearance": {
"types": "./src/appearance/index.ts",
"import": "./src/appearance/index.ts"
},
"./appearance/*": {
"types": "./src/appearance/*.ts",
"import": "./src/appearance/*.ts"
},
"./ast": {
"types": "./src/ast/index.ts",
"import": "./src/ast/index.ts"
},
"./ast/*": {
"types": "./src/ast/*.ts",
"import": "./src/ast/*.ts"
},
"./clipboard": {
"types": "./src/clipboard/index.ts",
"import": "./src/clipboard/index.ts"
},
"./clipboard/*": {
"types": "./src/clipboard/*.ts",
"import": "./src/clipboard/*.ts"
},
"./glob": {
"types": "./src/glob/index.ts",
"import": "./src/glob/index.ts"
},
"./glob/*": {
"types": "./src/glob/*.ts",
"import": "./src/glob/*.ts"
},
"./grep": {
"types": "./src/grep/index.ts",
"import": "./src/grep/index.ts"
},
"./grep/*": {
"types": "./src/grep/*.ts",
"import": "./src/grep/*.ts"
},
"./highlight": {
"types": "./src/highlight/index.ts",
"import": "./src/highlight/index.ts"
},
"./highlight/*": {
"types": "./src/highlight/*.ts",
"import": "./src/highlight/*.ts"
},
"./html": {
"types": "./src/html/index.ts",
"import": "./src/html/index.ts"
},
"./html/*": {
"types": "./src/html/*.ts",
"import": "./src/html/*.ts"
},
"./image": {
"types": "./src/image/index.ts",
"import": "./src/image/index.ts"
},
"./image/*": {
"types": "./src/image/*.ts",
"import": "./src/image/*.ts"
},
"./keys": {
"types": "./src/keys/index.ts",
"import": "./src/keys/index.ts"
},
"./keys/*": {
"types": "./src/keys/*.ts",
"import": "./src/keys/*.ts"
},
"./projfs": {
"types": "./src/projfs/index.ts",
"import": "./src/projfs/index.ts"
},
"./projfs/*": {
"types": "./src/projfs/*.ts",
"import": "./src/projfs/*.ts"
},
"./ps": {
"types": "./src/ps/index.ts",
"import": "./src/ps/index.ts"
},
"./ps/*": {
"types": "./src/ps/*.ts",
"import": "./src/ps/*.ts"
},
"./pty": {
"types": "./src/pty/index.ts",
"import": "./src/pty/index.ts"
},
"./pty/*": {
"types": "./src/pty/*.ts",
"import": "./src/pty/*.ts"
},
"./shell": {
"types": "./src/shell/index.ts",
"import": "./src/shell/index.ts"
},
"./shell/*": {
"types": "./src/shell/*.ts",
"import": "./src/shell/*.ts"
},
"./text": {
"types": "./src/text/index.ts",
"import": "./src/text/index.ts"
},
"./text/*": {
"types": "./src/text/*.ts",
"import": "./src/text/*.ts"
},
"./work": {
"types": "./src/work/index.ts",
"import": "./src/work/index.ts"
},
"./work/*": {
"types": "./src/work/*.ts",
"import": "./src/work/*.ts"
}
}
}