-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
mix.exs
65 lines (58 loc) · 1.33 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
63
64
65
defmodule Tremorx.MixProject do
use Mix.Project
@name :tremorx
@version "0.1.1"
@description "An Elixir Phoenix component library inspired by [Tremor](https://www.tremor.so/) - The react library to build dashboards fast."
@github_url "https://github.com/briankariuki/tremorx"
def project do
[
app: @name,
version: @version,
elixir: "~> 1.15",
start_permanent: Mix.env() == :prod,
package: package(),
deps: deps(),
docs: docs(),
aliases: aliases()
]
end
def application do
[
extra_applications: [:logger]
]
end
defp package() do
[
maintainers: ["Brian Kariuki"],
description: @description,
licenses: ["MIT"],
links: %{Github: @github_url},
files: ~w(mix.exs index.js lib .formatter.exs LICENSE.md README.md)
]
end
defp deps do
[
{:phoenix, "~> 1.7.10"},
{:phoenix_live_view, "~> 0.20"},
{:tails, "~> 0.1.5"},
{:ex_doc, "~> 0.24", only: :dev, runtime: false}
]
end
def docs() do
[
homepage_url: @github_url,
source_url: @github_url,
source_ref: "v#{@version}",
main: "readme",
extras: [
"README.md": [title: "Guide"],
"LICENSE.md": [title: "License"]
]
]
end
defp aliases() do
[
docs: ["docs"]
]
end
end