mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 12:41:54 +03:00
2de59759de
Reduce binary size and make some dependencies optional for deno
47 lines
1.3 KiB
TOML
47 lines
1.3 KiB
TOML
[package]
|
|
name = "swc_ecma_transforms"
|
|
version = "0.18.0"
|
|
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
|
license = "Apache-2.0/MIT"
|
|
repository = "https://github.com/swc-project/swc.git"
|
|
documentation = "https://swc-project.github.io/rustdoc/swc_ecma_transforms/"
|
|
description = "rust port of babel and closure compiler."
|
|
edition = "2018"
|
|
|
|
[features]
|
|
const-modules = ["dashmap"]
|
|
react = ["dashmap"]
|
|
default = []
|
|
|
|
[dependencies]
|
|
swc_atoms = { version = "0.2.0", path ="../../atoms" }
|
|
swc_common = { version = "0.9.0", path ="../../common" }
|
|
swc_ecma_ast = { version = "0.28.0", path ="../ast" }
|
|
swc_ecma_utils = { version = "0.17.0", path ="../utils" }
|
|
swc_ecma_parser = { version = "0.33.0", path ="../parser" }
|
|
swc_ecma_visit = { version = "0.13.0", path ="../visit" }
|
|
dashmap = { version = "=3.5.1", optional = true }
|
|
either = "1.5"
|
|
fxhash = "0.2"
|
|
indexmap = "1"
|
|
once_cell = "1"
|
|
serde = { version = "1", features = ["derive"] }
|
|
ordered-float = "1.0.1"
|
|
Inflector = { version = "0.11.4", default-features = false }
|
|
scoped-tls = "1"
|
|
regex = "1"
|
|
unicode-xid = "0.2"
|
|
arrayvec = "0.5.1"
|
|
serde_json = "1"
|
|
smallvec = "1"
|
|
is-macro = "0.1"
|
|
log = "0.4.8"
|
|
|
|
[dev-dependencies]
|
|
testing = { version = "0.9.0", path ="../../testing" }
|
|
swc_ecma_codegen = { version = "0.31.0", path ="../codegen" }
|
|
tempfile = "3"
|
|
pretty_assertions = "0.6"
|
|
sourcemap = "6"
|
|
walkdir = "2"
|