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"
|
2022-04-15 16:47:44 +03:00
|
|
|
name = "binding_core_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]
|
2022-04-04 14:12:03 +03:00
|
|
|
bench = false
|
2020-05-22 14:36:39 +03:00
|
|
|
crate-type = ["cdylib"]
|
|
|
|
|
2021-12-12 16:52:58 +03:00
|
|
|
[features]
|
2022-01-05 08:45:02 +03:00
|
|
|
default = ["swc_v1", "plugin"]
|
2022-03-19 15:23:38 +03:00
|
|
|
plugin = [
|
|
|
|
"swc/plugin",
|
2022-07-11 04:44:00 +03:00
|
|
|
"swc/plugin-transform-schema-v1",
|
|
|
|
"swc_common/plugin-transform-schema-v1",
|
2022-03-19 15:23:38 +03:00
|
|
|
"swc_plugin_runner/default",
|
2022-07-11 04:44:00 +03:00
|
|
|
"swc_plugin_runner/plugin-transform-schema-v1",
|
2022-03-19 15:23:38 +03:00
|
|
|
"wasmer/default",
|
|
|
|
"wasmer-wasi/default",
|
|
|
|
]
|
2022-01-13 12:41:34 +03:00
|
|
|
swc_v1 = ["swc_node_bundler/swc_v1"]
|
2021-12-12 16:52:58 +03:00
|
|
|
swc_v2 = ["swc_node_bundler/swc_v2"]
|
|
|
|
|
2020-05-22 14:36:39 +03:00
|
|
|
[build-dependencies]
|
2022-06-11 12:09:07 +03:00
|
|
|
napi-build = { version = "2" }
|
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"
|
2022-06-11 12:09:07 +03:00
|
|
|
napi = { version = "2", default-features = false, features = [
|
2022-03-16 12:58:24 +03:00
|
|
|
"napi3",
|
|
|
|
"serde-json",
|
2022-06-11 12:09:07 +03:00
|
|
|
] }
|
|
|
|
napi-derive = { version = "2", default-features = false, features = [
|
2022-03-16 12:58:24 +03:00
|
|
|
"type-def",
|
2022-06-11 12:09:07 +03:00
|
|
|
] }
|
|
|
|
node_macro_deps = { path = "../node_macro_deps" }
|
2020-05-22 14:36:39 +03:00
|
|
|
path-clean = "0.1"
|
2022-06-11 12:09:07 +03:00
|
|
|
serde = { version = "1", features = ["derive"] }
|
|
|
|
serde_json = { version = "1", features = ["unbounded_depth"] }
|
|
|
|
swc = { path = "../swc", features = ["node", "concurrent"] }
|
|
|
|
swc_atoms = { version = "0.2.4", path = "../swc_atoms" }
|
|
|
|
swc_bundler = { path = "../swc_bundler" }
|
|
|
|
swc_common = { path = "../swc_common", features = ["sourcemap", "perf"] }
|
|
|
|
swc_ecma_ast = { path = "../swc_ecma_ast" }
|
|
|
|
swc_ecma_lints = { path = "../swc_ecma_lints", features = [
|
2022-03-16 12:58:24 +03:00
|
|
|
"non_critical_lints",
|
2022-06-11 12:09:07 +03:00
|
|
|
] }
|
|
|
|
swc_ecma_loader = { path = "../swc_ecma_loader" }
|
|
|
|
swc_ecma_parser = { path = "../swc_ecma_parser" }
|
|
|
|
swc_node_bundler = { path = "../swc_node_bundler" }
|
|
|
|
swc_nodejs_common = { path = "../swc_nodejs_common" }
|
|
|
|
swc_plugin_runner = { path = "../swc_plugin_runner", optional = true, default-features = false }
|
|
|
|
tracing = { version = "0.1.32", features = ["release_max_level_info"] }
|
2022-03-31 10:11:31 +03:00
|
|
|
tracing-chrome = "0.5.0"
|
2022-02-25 07:06:45 +03:00
|
|
|
tracing-futures = "0.2.5"
|
2022-06-11 12:09:07 +03:00
|
|
|
tracing-subscriber = { version = "0.3.9", features = ["env-filter"] }
|
|
|
|
wasmer = { version = "2.3.0", optional = true, default-features = false }
|
|
|
|
wasmer-wasi = { version = "2.3.0", optional = true, default-features = false }
|