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