This repository has been archived by the owner on Oct 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
mix.exs
85 lines (78 loc) · 1.94 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
defmodule Turboprop.MixProject do
use Mix.Project
@source_url "https://github.com/leuchtturm-dev/turboprop"
@version "0.4.2"
def project do
[
app: :turboprop,
version: @version,
elixir: "~> 1.13",
start_permanent: Mix.env() == :prod,
deps: deps(),
name: "Turboprop",
source_url: @source_url,
homepage_url: @source_url,
description: description(),
package: package(),
docs: docs()
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:deep_merge, "~> 1.0"},
{:nanoid, "~> 2.0"},
{:phoenix_live_view, "~> 0.20"},
{:nimble_parsec, "~> 1.0"},
{:ex_doc, "~> 0.0", only: [:dev, :test], runtime: false},
{:makeup_html, "~> 0.0", only: [:dev, :test], runtime: false},
{:makeup_eex, "~> 0.0", only: [:dev, :test], runtime: false},
{:mix_test_watch, "~> 1.0", only: [:dev, :test], runtime: false},
{:styler, "== 1.0.0-rc.2", only: [:dev, :test], runtime: false}
]
end
defp description do
"""
A toolkit to build beautiful, accessible components for Phoenix using Tailwind and Zag.
"""
end
defp package do
[
licenses: ["MIT"],
links: %{
"GitHub" => @source_url,
"Changelog" => @source_url <> "/blob/main/CHANGELOG.md"
},
files: [
".formatter.exs",
"CHANGELOG.md",
"LICENSE",
"README.md",
"hooks",
"lib",
"mix.exs",
"package-lock.json",
"package.json",
"tsconfig.json"
]
]
end
defp docs do
[
main: "Turboprop",
logo: "assets/turboprop.png",
source_ref: @version,
extras: ["CHANGELOG.md"],
skip_undefined_reference_warnings_on: ["CHANGELOG.md"],
groups_for_modules: [
Hooks: ~r/Turboprop.Hooks/,
Merge: ~r/Turboprop.Merge/,
Variants: ~r/Turboprop.Variants/
]
]
end
end