-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
46 lines (41 loc) · 1.02 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
defmodule AbsintheThrottle.Mixfile do
use Mix.Project
def project do
[
app: :absinthe_throttle,
version: "0.4.0",
elixir: "~> 1.4",
start_permanent: Mix.env == :prod,
deps: deps(),
description: description(),
package: package(),
name: "absinthe_throttle",
source_url: "https://github.com/soundtrackyourbrand/absinthe-throttle"
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:absinthe, "~> 1.3"},
{:ex_doc, ">= 0.0.0", only: :dev},
{:poolboy, "~> 1.5", optional: true},
{:semaphore, "~> 1.0", optional: true},
]
end
defp description do
"Pluggable resolve throttling for Absinthe GraphQL."
end
defp package do
[
name: "absinthe_throttle",
licenses: ["MIT"],
files: ["lib", "mix.exs", "README*", "LICENSE*"],
maintainers: ["Fredrik Wärnsberg"],
links: %{"GitHub" => "https://github.com/soundtrackyourbrand/absinthe-throttle"}
]
end
end