{
  "name": "bench",
  "napi": {
    "name": "napi"
  },
  "dependencies": {
    "@napi-rs/cli": "^2.10.1",
    "@node-rs/helper": "^1.3.3"
  },
  "scripts": {
    "deps": "bun install",
    "build:ffi": "cargo build --release",
    "build": "bun run build:napi && bun run build:ffi",
    "cleanup": "rm -f index.js index.d.ts && mv napi.*.node ffi_napi_bench.node",
    "build:napi": "napi build --release --platform --no-dts-header --features enable-napi && bun run cleanup"
  }
}
