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"
|
2023-07-04 10:01:59 +03:00
|
|
|
version = "0.187.8"
|
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]
|
2023-06-22 10:40:41 +03:00
|
|
|
ahash = { version = "0.8.3", features = ["compile-time-rng"] }
|
2023-03-24 07:46:42 +03:00
|
|
|
anyhow = "1"
|
|
|
|
copyless = "0.1.5"
|
2023-06-22 10:40:41 +03:00
|
|
|
rayon = "1.7.0"
|
2023-03-24 07:46:42 +03:00
|
|
|
serde = { version = "1", features = ["derive"] }
|
2021-05-01 12:09:10 +03:00
|
|
|
serde_json = "1.0.62"
|
2023-03-24 07:46:42 +03:00
|
|
|
|
2023-05-16 08:18:57 +03:00
|
|
|
swc_atoms = { version = "0.5.6", path = "../swc_atoms" }
|
2023-06-23 05:28:10 +03:00
|
|
|
swc_common = { version = "0.31.16", path = "../swc_common", features = [
|
2022-03-16 12:58:24 +03:00
|
|
|
"concurrent",
|
|
|
|
"sourcemap",
|
|
|
|
"tty-emitter",
|
2022-08-11 12:52:44 +03:00
|
|
|
] }
|
2023-06-29 17:15:31 +03:00
|
|
|
swc_ecma_ast = { version = "0.107.0", path = "../swc_ecma_ast" }
|
2023-06-30 10:43:11 +03:00
|
|
|
swc_ecma_parser = { version = "0.137.1", path = "../swc_ecma_parser" }
|
|
|
|
swc_ecma_utils = { version = "0.120.1", path = "../swc_ecma_utils" }
|
2023-06-29 17:15:31 +03:00
|
|
|
swc_ecma_visit = { version = "0.93.0", path = "../swc_ecma_visit" }
|
2023-06-23 05:28:10 +03:00
|
|
|
swc_estree_ast = { version = "0.21.16", path = "../swc_estree_ast" }
|
|
|
|
swc_node_comments = { version = "0.18.16", path = "../swc_node_comments/" }
|
2021-05-01 12:09:10 +03:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-06-22 10:40:41 +03:00
|
|
|
criterion = "0.5"
|
2023-06-22 16:37:35 +03:00
|
|
|
pretty_assertions = "1.3"
|
2023-03-24 07:46:42 +03:00
|
|
|
|
2023-07-04 10:01:59 +03:00
|
|
|
swc = { version = "0.264.8", path = "../swc" }
|
2023-06-29 17:15:31 +03:00
|
|
|
swc_ecma_ast = { version = "0.107.0", path = "../swc_ecma_ast" }
|
2023-06-30 10:43:11 +03:00
|
|
|
swc_ecma_parser = { version = "0.137.1", path = "../swc_ecma_parser" }
|
2023-07-04 10:01:59 +03:00
|
|
|
swc_ecma_transforms = { version = "0.221.4", path = "../swc_ecma_transforms/" }
|
2023-06-23 05:28:10 +03:00
|
|
|
testing = { version = "0.33.19", 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"
|