Current section
Files
Jump to
Current section
Files
yubikey_otp
mix.exs
mix.exs
defmodule YubikeyOTP.MixProject do
use Mix.Project
def project do
[
app: :yubikey_otp,
version: "0.2.0",
elixir: "~> 1.7",
description: "Elixir client library for validating Yubikey one-time-passwords (OTPs)",
package: package(),
name: "YubikeyOTP",
source_url: "https://github.com/Digital-Identity-Labs/yubikey_otp",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
test_coverage: [
tool: ExCoveralls
],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
],
docs: [
main: "readme",
# logo: "path/to/logo.png",
extras: ["README.md"]
],
deps: deps()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:tesla, "~> 1.3.0"},
{:hackney, "~> 1.15.2"},
{:certifi, "~> 2.5.1"},
{:puid, "~> 1.1"},
{:apex, "~> 1.2", only: [:dev, :test], runtime: false},
{:credo, "~> 1.3.2", only: [:dev, :test], runtime: false},
{:excoveralls, "~> 0.12.3", only: :test},
{:benchee, "~> 1.0.1", only: [:dev, :test]},
{:ex_doc, "~> 0.21.3", only: :dev, runtime: false},
{:earmark, "~> 1.3", only: :dev, runtime: false},
{:dialyxir, "~> 1.0.0-rc.4", only: [:dev], runtime: false},
{:ex_unit_assert_match, "~> 0.3.0", only: :test},
{:ex_matchers, "~> 0.1.3", only: :test},
{:doctor, "~> 0.13.0", only: :dev, runtime: false}
]
end
defp package() do
[
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/Digital-Identity-Labs/yubikey_otp"
}
]
end
end