oxc/crates/oxc_wasm/Cargo.toml
Shannon Rothe 735beb7fab
feat(playground): add prettier formatting + IR (#1349)
- [x] add Prettier format button which takes source text and updates
view with formatted source text
- [ ] add button to show Prettier IR
2023-11-16 09:33:37 +00:00

41 lines
1.3 KiB
TOML

[package]
name = "oxc_wasm"
version = "0.0.0"
publish = false
authors.workspace = true
edition.workspace = true
keywords.workspace = true
license.workspace = true
rust-version.workspace = true
categories.workspace = true
[lib]
crate-type = ["cdylib", "rlib"]
test = false
doctest = false
[features]
default = ["console_error_panic_hook"]
[dependencies]
oxc = { workspace = true, features = ["serde", "semantic", "formatter", "transformer", "minifier", "codegen"] }
oxc_linter = { workspace = true }
oxc_prettier = { workspace = true }
oxc_type_synthesis = { workspace = true }
oxc_query = { workspace = true }
serde_json = { workspace = true }
trustfall = { workspace = true }
serde = { workspace = true }
wasm-bindgen = { version = "0.2" }
serde-wasm-bindgen = "0.6.1"
# The `console_error_panic_hook` crate provides better debugging of panics by
# logging them with `console.error`. This is great for development, but requires
# all the `std::fmt` and `std::panicking` infrastructure, so isn't great for
# code size when deploying.
console_error_panic_hook = { version = "0.1.7", optional = true }
[dev-dependencies]
wasm-bindgen-test = "0.3.38"