mirror of
https://github.com/danbulant/oxc
synced 2026-05-20 12:48:38 +00:00
- 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`
25 lines
578 B
JSON
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"
|
|
]
|
|
}
|
|
}
|