pre.hn/mix.exs

49 lines
1.2 KiB
Elixir
Raw Normal View History

2023-09-18 18:21:59 +00:00
defmodule PreDotHn.MixProject do
use Mix.Project
def project do
[
app: :pre_dot_hn,
version: "0.1.0",
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
2023-09-22 12:58:31 +00:00
aliases: aliases(),
2023-09-18 18:21:59 +00:00
deps: deps()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
2023-09-22 12:58:31 +00:00
{:yaml_elixir, "~> 2.9.0"},
2023-09-18 18:21:59 +00:00
{:esbuild, "~> 0.7.1"},
{:tailwind, "~> 0.2.1"},
2023-09-22 12:58:31 +00:00
{:phoenix_live_view, "~> 0.19.5"},
{:rustler, "~> 0.29.1"},
2024-02-01 01:55:29 +00:00
{:tree_sitter, "~> 0.0.2"},
2023-09-22 12:58:31 +00:00
{:earmark_parser, "~> 1.4"},
{:earmark, "~> 1.4"},
{:floki, "~> 0.34.3"},
{:html_sanitize_ex, "~> 1.4"},
2023-10-26 13:10:53 +00:00
{:phoenix_html, "~> 3.3.2"},
{:sitemapper, "~> 0.7.0"}
2023-09-18 18:21:59 +00:00
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
]
end
2023-09-22 12:58:31 +00:00
def aliases() do
[
2023-09-24 22:54:59 +00:00
"assets.build": ["esbuild default --minify", "tailwind default --minify"],
2023-09-24 23:00:24 +00:00
serve: ["do esbuild serve --serve + tailwind default --watch"]
2023-09-22 12:58:31 +00:00
]
end
2023-09-18 18:21:59 +00:00
end