-
Notifications
You must be signed in to change notification settings - Fork 5
/
mix.exs
62 lines (56 loc) · 1.63 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
58
59
60
61
62
defmodule LiveIsolatedComponent.MixProject do
use Mix.Project
@source_url "https://github.com/Serabe/live_isolated_component"
@version "0.9.0"
def project do
[
dialyzer: [
ignore_warnings: ".dialyzer_ignore.exs",
list_unused_filters: true,
plt_core_path: "priv/plts",
plt_file: {:no_warn, "priv/plts/live_isolated_component.plt"}
],
app: :live_isolated_component,
package: package(),
version: @version,
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: docs()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
def package do
[
maintainers: ["Sergio Arbeo"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/Serabe/live_isolated_component"},
files: ~w(CHANGELOG.md lib LICENSE.txt mix.exs README.md),
description: "Simple library to test LV components live in isolation"
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:credo, "~> 1.7.10", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.4.5", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.35.1", only: :dev, runtime: false},
{:mix_test_watch, "~> 1.2.0", only: :dev, runtime: false},
{:phoenix, "~> 1.7.0"},
{:phoenix_live_view, "~> 0.19.0 or ~> 0.20.0 or ~> 1.0.0"}
]
end
defp docs do
[
extras: [{:"README.md", [title: "Overview"]}],
main: "readme",
source_url: @source_url,
source_ref: "v#{@version}"
]
end
end