Packages

On-the-fly image resizing for Phoenix with caching and responsive components

Current section

Files

Jump to
Raw

mix.exs

defmodule PhoenixImage.MixProject do
use Mix.Project
@version "0.2.0"
def project do
[
app: :phoenix_image,
version: @version,
elixir: "~> 1.15",
deps: deps(),
description: "On-the-fly image resizing for Phoenix with caching and responsive components",
package: package(),
docs: docs(),
source_url: "https://github.com/timonweb/phoenix_image"
]
end
def application do
[extra_applications: [:logger]]
end
defp deps do
[
{:plug, "~> 1.14"},
{:phoenix_live_view, "~> 1.0"},
{:image, "~> 0.54"},
{:ex_doc, "~> 0.34", only: :dev, runtime: false}
]
end
defp package do
[
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/timonweb/phoenix_image"},
files: ~w(lib mix.exs README.md LICENSE)
]
end
defp docs do
[
main: "readme",
extras: ["README.md"],
source_ref: "v#{@version}"
]
end
end