[package] name = "sane-fmt" description = "Opinionated code formatter for TypeScript and JavaScript" version = "0.18.1" authors = ["khai96_ "] license = "MIT" edition = "2021" keywords = ["format", "typescript", "javascript"] categories = ["command-line-utilities"] repository = "https://github.com/sane-fmt/sane-fmt.git" readme = "README.md" include = [ "/src", "/Cargo.toml", "/README.md", ] [lib] name = "sane_fmt" path = "src/lib.rs" doc = true [[bin]] name = "sane-fmt" path = "src/main.rs" doc = false [[bin]] name = "sane-fmt-export-json-config" path = "src/export_json_config/main.rs" doc = false [[bin]] name = "sane-fmt-generate-shell-completions" path = "src/generate_shell_completions/main.rs" doc = false [dependencies] dprint-core = "=0.66.1" dprint-plugin-typescript = "=0.89.3" similar = "^2.2.1" derive_more = "^0.99.17" relative-path = "^1.8.0" yansi = "^0.5.1" pipe-trait = "^0.4.0" tap = "^1.0.1" serde_json = "^1.0.95" clap-utilities = "^0.2.0" [dependencies.serde] version = "^1.0.159" features = ["derive"] [dependencies.clap] version = "^4.0.32" features = ["derive"] [dev-dependencies] tempfile = "^3.4.0" strip-ansi-escapes = "^0.2.0" fs_extra = "^1.3.0" toml = "^0.8.10" pretty_assertions = "^1.3.0" text-block-macros = "0.1.1" [profile.release] opt-level = "z"