defmodule NativeElixirPdfUtilities.MixProject do use Mix.Project def project do [ app: :native_elixir_pdf_utilities, version: "0.3.0", elixir: "~> 1.18", start_permanent: Mix.env() == :prod, description: "Pure Elixir PDF utilities for tokenizing, merging, text extraction, and native HTML/CSS rendering.", deps: deps(), package: package(), docs: docs(), test_coverage: [summary: [threshold: 100]] ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger] ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false}, {:ex_doc, "~> 0.37", only: :dev, runtime: false}, {:resvg, "~> 0.5.0"} ] end defp package do [ name: "native_elixir_pdf_utilities", files: ~w(lib assets docs mix.exs README.md CHANGELOG.md LICENSE), licenses: ["MIT"], links: %{"GitHub" => "https://github.com/Cees-Kettenis/native_elixir_pdf_utilities"} ] end defp docs do [ main: "readme", extras: [ "README.md", "CHANGELOG.md", "docs/html-to-pdf-compatibility.md", "docs/html-to-pdf-exmaples.md" ], source_ref: "v0.3.0", source_url: "https://github.com/Cees-Kettenis/native_elixir_pdf_utilities" ] end end