singularity-forge/packages/native/package.json
Lex Christopherson df39cea85e feat: add native ast module with ast-grep structural search and rewrite
Adds the `gsd-ast` crate providing AST-aware code search (`astGrep`) and
rewrite (`astEdit`) via ast-grep with tree-sitter grammars for 38+ languages.
Replaces Oh My Pi's fs_cache/task dependencies with the `ignore` crate for
.gitignore-respecting file walking. Includes TypeScript type declarations
and wrappers in packages/native.

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

43 lines
1.2 KiB
JSON

{
"name": "@gsd/native",
"version": "0.1.0",
"description": "Native Rust bindings for GSD — high-performance native modules 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__/ps.test.mjs src/__tests__/glob.test.mjs src/__tests__/clipboard.test.mjs src/__tests__/highlight.test.mjs"
},
"exports": {
".": {
"types": "./src/index.ts",
"import": "./src/index.ts"
},
"./grep": {
"types": "./src/grep/index.ts",
"import": "./src/grep/index.ts"
},
"./ps": {
"types": "./src/ps/index.ts",
"import": "./src/ps/index.ts"
},
"./glob": {
"types": "./src/glob/index.ts",
"import": "./src/glob/index.ts"
},
"./clipboard": {
"types": "./src/clipboard/index.ts",
"import": "./src/clipboard/index.ts"
},
"./ast": {
"types": "./src/ast/index.ts",
"import": "./src/ast/index.ts"
}
},
"files": [
"src"
],
"license": "MIT"
}