2021-05-01 12:09:10 +03:00
|
|
|
[package]
|
2022-08-11 12:52:44 +03:00
|
|
|
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
|
|
|
description = "Compatibility layer between estree and swc"
|
2021-11-23 23:34:41 +03:00
|
|
|
documentation = "https://rustdoc.swc.rs/swc_estree_compat/"
|
2022-08-11 12:52:44 +03:00
|
|
|
edition = "2021"
|
|
|
|
include = ["Cargo.toml", "src/**/*.rs"]
|
|
|
|
license = "Apache-2.0"
|
|
|
|
name = "swc_estree_compat"
|
|
|
|
repository = "https://github.com/swc-project/swc.git"
|
2022-12-20 15:46:10 +03:00
|
|
|
version = "0.159.0"
|
2021-05-01 12:09:10 +03:00
|
|
|
|
2022-08-11 12:52:44 +03:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
2021-11-23 23:34:41 +03:00
|
|
|
|
2022-04-04 14:12:03 +03:00
|
|
|
[lib]
|
|
|
|
bench = false
|
|
|
|
|
2021-05-01 12:09:10 +03:00
|
|
|
[dependencies]
|
2022-08-11 12:52:44 +03:00
|
|
|
ahash = { version = "0.7.0", features = ["compile-time-rng"] }
|
2021-05-03 07:34:13 +03:00
|
|
|
anyhow = "1"
|
2021-05-06 08:56:54 +03:00
|
|
|
copyless = "0.1.5"
|
|
|
|
rayon = "1.5.0"
|
2022-09-30 10:57:15 +03:00
|
|
|
serde = { version = "1", features = ["derive"] }
|
2021-05-01 12:09:10 +03:00
|
|
|
serde_json = "1.0.62"
|
2022-12-20 09:11:34 +03:00
|
|
|
swc_atoms = { version = "0.4.31", path = "../swc_atoms" }
|
|
|
|
swc_common = { version = "0.29.24", path = "../swc_common", features = [
|
2022-03-16 12:58:24 +03:00
|
|
|
"concurrent",
|
|
|
|
"sourcemap",
|
|
|
|
"tty-emitter",
|
2022-08-11 12:52:44 +03:00
|
|
|
] }
|
2022-12-20 09:11:34 +03:00
|
|
|
swc_ecma_ast = { version = "0.95.8", path = "../swc_ecma_ast" }
|
|
|
|
swc_ecma_parser = { version = "0.123.12", path = "../swc_ecma_parser" }
|
|
|
|
swc_ecma_utils = { version = "0.106.12", path = "../swc_ecma_utils" }
|
|
|
|
swc_ecma_visit = { version = "0.81.8", path = "../swc_ecma_visit" }
|
|
|
|
swc_estree_ast = { version = "0.19.24", path = "../swc_estree_ast" }
|
|
|
|
swc_node_comments = { version = "0.16.24", path = "../swc_node_comments/" }
|
2021-05-01 12:09:10 +03:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2022-08-11 12:52:44 +03:00
|
|
|
criterion = "0.3"
|
|
|
|
pretty_assertions = "1.1"
|
2022-12-20 15:46:10 +03:00
|
|
|
swc = { version = "0.237.0", path = "../swc" }
|
2022-12-20 09:11:34 +03:00
|
|
|
swc_ecma_ast = { version = "0.95.8", path = "../swc_ecma_ast" }
|
|
|
|
swc_ecma_parser = { version = "0.123.12", path = "../swc_ecma_parser" }
|
|
|
|
swc_ecma_transforms = { version = "0.199.18", path = "../swc_ecma_transforms/" }
|
|
|
|
testing = { version = "0.31.26", path = "../testing" }
|
2022-08-11 12:52:44 +03:00
|
|
|
walkdir = "2"
|
2022-04-03 18:56:29 +03:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
harness = false
|
2022-08-11 12:52:44 +03:00
|
|
|
name = "babelify"
|