[package]
name = "morph-cli"
version = "0.1.0"
edition = "2024"
rust-version = "1.85"
authors = ["Shreyaj Dinesh"]
description = "AST-based codebase migration and codemod tool for JavaScript and TypeScript projects."
license = "MIT"
readme = "README.md"
repository = "https://github.com/s0r0j/morph"
homepage = "https://github.com/s0r0j/morph"
documentation = "https://github.com/s0r0j/morph"
keywords = [
"codemod",
"migration",
"typescript",
"javascript",
"refactor"
]
categories = [
"development-tools",
"command-line-utilities"
]
exclude = [
".github/",
"target/",
"node_modules/",
".morph-cli/",
"benchmarks/",
"showcase/",
]
[lib]
name = "morph_cli"
path = "src/lib.rs"
[[bin]]
name = "morph"
path = "src/main.rs"
[dependencies]
anyhow = "1.0"
chrono = { version = "0.4", features = ["serde"] }
clap = { version = "4.5", features = ["derive"] }
clap_complete = "4.5"
colored = "3.0"
dirs = "5.0"
indicatif = "0.18"
inquire = "0.7"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tempfile = "3.10"
thiserror = "1.0"
tiny_http = "0.12"
toml = "0.9"
uuid = { version = "1.0", features = ["v4"] }
walkdir = "2.5"
swc_common = "14.0"
swc_ecma_ast = "15.0"
swc_ecma_codegen = "17.0"
swc_ecma_parser = "24.0"
swc_ecma_visit = "15.0"
[dev-dependencies]
pretty_assertions = "1.4"
similar = "2.4"
[profile.release]
lto = true
codegen-units = 1
strip = true
opt-level = 3