oxc/napi/transform/package.json
Dunqing 3e9e4c9912
chore(napi/transform): support wasm build (#3933)
~~Encountered the same problem as
https://github.com/oxc-project/oxc-resolver/issues/190. Fixed in
napi@2.16.7, but oxc use `3.x`~~

Fixed in napi@3.0.0-alpha.3
2024-06-30 19:49:02 +08:00

16 lines
No EOL
563 B
JSON

{
"name": "@oxc-transform/binding",
"private": true,
"packageManager": "pnpm@9.4.0",
"scripts": {
"build": "napi build --platform --release --package-json-path ../../npm/oxc-transform/package.json --manifest-path ./Cargo.toml",
"build:debug": "napi build --platform --package-json-path ../../npm/oxc-transform/package.json --manifest-path ./Cargo.toml",
"test": "node test.mjs"
},
"devDependencies": {
"@napi-rs/cli": "^3.0.0-alpha.43",
"@napi-rs/wasm-runtime": "^0.2.0",
"@types/node": "^20.10.4",
"emnapi": "^1.0.0"
}
}