2020-05-22 14:36:39 +03:00
|
|
|
[package]
|
2020-08-30 09:29:42 +03:00
|
|
|
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
2020-05-22 14:36:39 +03:00
|
|
|
build = "build.rs"
|
2021-12-30 12:59:18 +03:00
|
|
|
edition = "2021"
|
2020-08-30 09:29:42 +03:00
|
|
|
exclude = ["artifacts.json", "index.node"]
|
2021-12-19 08:14:12 +03:00
|
|
|
license = "Apache-2.0"
|
2020-08-30 09:29:42 +03:00
|
|
|
name = "node"
|
2020-05-22 14:36:39 +03:00
|
|
|
publish = false
|
2020-08-30 09:29:42 +03:00
|
|
|
version = "0.1.0"
|
2020-05-22 14:36:39 +03:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib"]
|
|
|
|
|
2021-12-12 16:52:58 +03:00
|
|
|
[features]
|
|
|
|
default = ["swc_v1"]
|
|
|
|
swc_v1 = ["swc_node_bundler/swc_v1", "swc/wrong-target"]
|
|
|
|
swc_v2 = ["swc_node_bundler/swc_v2"]
|
|
|
|
|
2020-05-22 14:36:39 +03:00
|
|
|
[build-dependencies]
|
2021-02-10 09:47:01 +03:00
|
|
|
napi-build = {version = "1"}
|
2020-05-22 14:36:39 +03:00
|
|
|
|
|
|
|
[dependencies]
|
2020-08-30 09:29:42 +03:00
|
|
|
anyhow = "1"
|
2020-06-15 17:28:15 +03:00
|
|
|
backtrace = "0.3"
|
2021-12-24 05:21:24 +03:00
|
|
|
napi = {version = "2", default-features = false, features = ["napi3", "serde-json"]}
|
|
|
|
napi-derive = {version = "2", default-features = false, features = ["type-def"]}
|
2021-12-30 12:59:18 +03:00
|
|
|
node_macro_deps = {path = "../node_macro_deps"}
|
2020-05-22 14:36:39 +03:00
|
|
|
path-clean = "0.1"
|
2020-08-30 09:29:42 +03:00
|
|
|
serde = {version = "1", features = ["derive"]}
|
2021-09-09 14:45:20 +03:00
|
|
|
serde_json = {version = "1", features = ["unbounded_depth"]}
|
2021-12-24 05:21:24 +03:00
|
|
|
swc = {path = "../swc", features = ["concurrent", "plugin", "node"]}
|
2021-11-10 10:39:01 +03:00
|
|
|
swc_atoms = {version = "0.2.4", path = "../swc_atoms"}
|
2021-11-09 14:42:49 +03:00
|
|
|
swc_bundler = {path = "../swc_bundler"}
|
2021-11-10 10:39:01 +03:00
|
|
|
swc_common = {path = "../swc_common", features = ["sourcemap"]}
|
2021-11-10 13:00:54 +03:00
|
|
|
swc_ecma_ast = {path = "../swc_ecma_ast"}
|
|
|
|
swc_ecma_loader = {path = "../swc_ecma_loader"}
|
|
|
|
swc_ecma_parser = {path = "../swc_ecma_parser"}
|
2021-11-10 10:39:01 +03:00
|
|
|
swc_node_base = {path = "../swc_node_base"}
|
2021-11-09 14:42:49 +03:00
|
|
|
swc_node_bundler = {path = "../swc_node_bundler"}
|
2021-11-22 15:01:08 +03:00
|
|
|
tracing = {version = "0.1.28", features = ["release_max_level_info"]}
|
2021-12-28 12:49:33 +03:00
|
|
|
tracing-subscriber = {version = "0.3.4", features = ["env-filter"]}
|