[package]
name                   = "oxc_napi"
version                = "0.0.0"
publish                = false
authors.workspace      = true
description.workspace  = true
edition.workspace      = true
homepage.workspace     = true
keywords.workspace     = true
license.workspace      = true
repository.workspace   = true
rust-version.workspace = true
categories.workspace   = true

[lib]
crate-type = ["cdylib"]
doctest = false

[dependencies]
oxc_allocator = { workspace = true }
oxc_parser    = { workspace = true }
oxc_ast       = { workspace = true, features = ["serde"] }
oxc_span      = { workspace = true }

serde_json = { workspace = true }
miette     = { workspace = true, features = ["fancy-no-backtrace"] }

tokio       = { workspace = true }
napi        = { version = "2", features = ["serde-json", "async"] }
napi-derive = { version = "2" }

[build-dependencies]
napi-build = "2"
