-
Notifications
You must be signed in to change notification settings - Fork 148
/
mix.exs
56 lines (51 loc) · 1.44 KB
/
mix.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
defmodule JaSerializer.Mixfile do
use Mix.Project
def project do
[
app: :ja_serializer,
version: "0.18.1",
elixir: "~> 1.10",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
consolidate_protocols: Mix.env() != :test,
source_url: "https://github.com/vt-elixir/ja_serializer",
package: package(),
description: description(),
deps: deps()
]
end
# Configuration for the OTP application
def application do
[extra_applications: [:logger]]
end
defp deps do
[
{:inflex, "~> 2.0"},
{:plug, "> 1.0.0"},
{:poison, ">= 1.4.0", only: [:docs, :test]},
{:ecto, "~> 1.1 or ~> 2.0 or ~> 3.0", only: :test},
{:earmark, "~> 1.4", only: :dev},
{:inch_ex, "~> 2.0", only: :docs},
{:scrivener, "~> 1.2 or ~> 2.0", optional: true},
{:benchfella, "~> 0.3", only: :dev},
{:ex_doc, "~> 0.22", only: :dev, runtime: false},
{:dialyxir, "~> 1.0", only: :dev},
{:credo, "~> 1.4", only: :dev}
]
end
defp package do
[
licenses: ["Apache-2.0"],
maintainers: ["Alan Peabody", "Peter Brown"],
links: %{
"GitHub" => "https://github.com/vt-elixir/ja_serializer"
}
]
end
defp description do
"""
A serialization library implementing the jsonapi.org 1.0 spec suitable for
use building JSON APIs in Phoenix and any other Plug based framework or app.
"""
end
end