-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
57 lines (51 loc) · 1.34 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
57
defmodule LiveViewEvents.MixProject do
use Mix.Project
@source_url "https://github.com/DockYard/live_view_events"
@version "0.1.2"
def project do
[
app: :live_view_events,
version: @version,
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: docs(),
license: "MIT",
package: package()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
def docs do
[
extras: [{:"README.md", [title: "Overview"]}],
main: "readme",
source_url: @source_url,
source_ref: "v#{@version}"
]
end
def package do
[
maintainers: ["Sergio Arbeo"],
licenses: ["MIT"],
links: %{"GitHub" => @source_url},
files: ~w(lib LICENSE.md mix.exs README.md),
description:
"A library to unify and simplify sending messages between components and views in the server for Phoenix LiveView."
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:credo, "~> 1.7.5", only: :dev, runtime: false},
{:dialyxir, "~> 1.4.3", only: :dev, runtime: false},
{:ex_doc, "~> 0.31.2", only: :dev, runtime: false},
{:floki, ">= 0.36.0", only: :test},
{:phoenix_live_view, "~> 0.19"}
]
end
end