2023-09-29 11:47:59 +03:00
|
|
|
[package]
|
|
|
|
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
|
|
|
build = "build.rs"
|
|
|
|
edition = "2021"
|
|
|
|
exclude = ["artifacts.json", "index.node"]
|
|
|
|
license = "Apache-2.0"
|
|
|
|
name = "binding_minifier_node"
|
|
|
|
publish = false
|
|
|
|
version = "0.1.0"
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
bench = false
|
|
|
|
crate-type = ["cdylib"]
|
|
|
|
|
|
|
|
[build-dependencies]
|
|
|
|
napi-build = { version = "2" }
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
anyhow = "1.0.66"
|
|
|
|
backtrace = "0.3"
|
|
|
|
napi = { version = "2", default-features = false, features = [
|
|
|
|
"napi3",
|
|
|
|
"serde-json",
|
|
|
|
] }
|
|
|
|
napi-derive = { version = "2", default-features = false, features = [
|
|
|
|
"type-def",
|
|
|
|
] }
|
|
|
|
node_macro_deps = { path = "../node_macro_deps" }
|
|
|
|
path-clean = "0.1"
|
|
|
|
serde = { version = "1", features = ["derive"] }
|
|
|
|
serde_json = { version = "1", features = ["unbounded_depth"] }
|
|
|
|
tracing = { version = "0.1.37", features = ["release_max_level_info"] }
|
|
|
|
tracing-chrome = "0.5.0"
|
|
|
|
tracing-futures = "0.2.5"
|
|
|
|
tracing-subscriber = { version = "0.3.9", features = ["env-filter"] }
|
|
|
|
|
|
|
|
swc_core = { version = "0.83.18", features = [
|
|
|
|
"allocator_node",
|
|
|
|
"ecma_ast",
|
|
|
|
"ecma_codegen",
|
|
|
|
"common_concurrent",
|
|
|
|
"ecma_minifier",
|
|
|
|
] }
|
|
|
|
swc_node_base = "0.5.8"
|
2023-09-29 17:48:31 +03:00
|
|
|
swc_compiler_base = { version = "0.1.0", features = ["node"] }
|