Current section
Files
Jump to
Current section
Files
ash_authentication_firebase
mix.exs
mix.exs
defmodule AshAuthentication.Firebase.MixProject do
use Mix.Project
@version "1.1.0"
@source "https://github.com/r8/ash_authentication_firebase"
def project do
[
app: :ash_authentication_firebase,
version: @version,
elixir: "~> 1.15",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
docs: docs(),
deps: deps(),
dialyzer: dialyzer()
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
# Run "mix help compile.app" to learn about applications.
def application do
[
mod: {AshAuthentication.Firebase, []},
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ash_authentication, "~> 4.0"},
{:jose, "~> 1.11"},
{:jason, "~> 1.4"},
{:finch, "~> 0.22"},
{:telemetry, "~> 1.0"},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false},
{:mox, "~> 1.1", only: :test},
{:bypass, "~> 2.1", only: :test}
]
end
defp dialyzer do
[
plt_core_path: "priv/plts",
plt_local_path: "priv/plts/local.plt",
plt_add_apps: [:ex_unit, :mix],
flags: [:error_handling, :unknown, :unmatched_returns]
]
end
defp docs do
[
source_url: @source,
source_ref: "v#{@version}",
main: "readme",
extras: ["README.md"]
]
end
defp description do
"""
Firebase token authentication strategy for AshAuthentication.
"""
end
defp package do
[
maintainers: ["Sergey Storchay"],
licenses: ["MIT"],
links: %{"Source" => @source}
]
end
end