-
Notifications
You must be signed in to change notification settings - Fork 44
/
mix.exs
58 lines (52 loc) · 1.22 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
defmodule PhoenixLiveReact.MixProject do
use Mix.Project
def project do
[
app: :phoenix_live_react,
version: "0.6.0",
elixir: "~> 1.9",
start_permanent: Mix.env() == :prod,
package: package(),
description: description(),
docs: docs(),
deps: deps()
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:ex_doc, "~> 0.21", only: :dev, runtime: false},
{:phoenix_html, "~> 4.0"},
{:phoenix_html_helpers, "~> 1.0"},
{:jason, "~> 1.1"}
]
end
def description do
"""
A helper library for easily rendering React components in
Phoenix LiveView views.
"""
end
defp package do
[
name: :phoenix_live_react,
files: ["lib", "priv", "mix.exs", "package.json", "README*", "LICENSE*"],
maintainers: ["Robin Fidder"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/fidr/phoenix_live_react"}
]
end
defp docs do
[
name: "PhoenixLiveReact",
source_url: "https://github.com/fidr/phoenix_live_react",
homepage_url: "https://github.com/fidr/phoenix_live_react",
main: "readme",
extras: ["README.md"]
]
end
end