mix.exs

defmodule LiveQuery.MixProject do
  use Mix.Project

  def project do
    [
      app: :live_query,
      description: """
      LiveQuery separates data loading, storage, and revalidation from data consumption. It comes with a built in
      live view client API make consuming LiveQuery data from your live views easy.
      """,
      package: [
        licenses: ["MIT"],
        links: %{
          "Source Code" => "https://github.com/AHBruns/live_query",
          "GitHub" => "https://github.com/AHBruns/live_query"
        }
      ],
      source_url: "https://github.com/AHBruns/live_query",
      version: "0.1.0",
      elixir: "~> 1.14",
      start_permanent: Mix.env() == :prod,
      deps: deps()
    ]
  end

  def application do
    [
      extra_applications: [:logger]
    ]
  end

  defp deps do
    [
      {:phoenix_live_view, "~> 0.18"}
    ]
  end
end