oxc/napi/parser/package.json
ottomated 67a7bde4c6 feat(napi/parser)!: add typings to napi/parser (#6796)
- Added TypeScript annotation for `ParseResult.program`
- Modified the entrypoint for `oxc-parser` to allow wrapping the napi functions
- Updated `index.js` to parse the `program` string into a JSON object
- Updated tests
- Added a dependency on `@oxc/types`
2024-10-24 13:08:59 +00:00

25 lines
578 B
JSON

{
"name": "@oxc-parser/binding",
"packageManager": "pnpm@9.9.0",
"private": true,
"scripts": {
"build": "napi build --platform --release --js bindings.js",
"test": "vitest run ./test"
},
"engines": {
"node": ">=14.*"
},
"napi": {
"binaryName": "parser",
"targets": [
"x86_64-pc-windows-msvc",
"aarch64-pc-windows-msvc",
"x86_64-unknown-linux-gnu",
"aarch64-unknown-linux-gnu",
"x86_64-unknown-linux-musl",
"aarch64-unknown-linux-musl",
"x86_64-apple-darwin",
"aarch64-apple-darwin"
]
}
}