mirror of
https://github.com/fly-apps/live_beats.git
synced 2024-11-25 09:20:59 +00:00
78e35ded8e
* `castore` from 1.0.7 to 1.0.9 * `ecto` from 3.11.2 to 3.12.4 * `ecto_sql` from 3.11.3 to 3.12.1 * `esbuild` from 0.8.1 to 0.8.2 * `finch` from 0.18.0 to 0.19.0 * `flame` from 0.2.0 to 0.5.1 * `floki` from 0.36.2 to 0.36.3 * `gettext` from 0.24.0 to 0.26.1 * `heroicons` from 0.5.5 to 0.5.6 * `jason` from 1.4.1 to 1.4.4 * `libcluster` from 3.3.3 to 3.4.1 * `mint` from 1.6.1 to 1.6.2 * `phoenix_ecto` from 4.6.1 to 4.6.3 * `phoenix_live_dashboard` from 0.8.3 to 0.8.4 * `plug_cowboy` from 2.7.1 to 2.7.2 * `postgrex` from 0.18.0 to 0.19.2 * `req` from 0.5.0 to 0.5.1 * `swoosh` from 1.16.9 to 1.17.2 * `tailwind` from 0.2.3 to 0.2.4 * `telemetry` from 1.2.1 to 1.3.0
86 lines
2.5 KiB
Elixir
86 lines
2.5 KiB
Elixir
defmodule LiveBeats.MixProject do
|
|
use Mix.Project
|
|
|
|
def project do
|
|
[
|
|
app: :live_beats,
|
|
version: "0.1.1",
|
|
elixir: "~> 1.12",
|
|
elixirc_paths: elixirc_paths(Mix.env()),
|
|
start_permanent: Mix.env() == :prod,
|
|
aliases: aliases(),
|
|
deps: deps()
|
|
]
|
|
end
|
|
|
|
# Configuration for the OTP application.
|
|
#
|
|
# Type `mix help compile.app` for more information.
|
|
def application do
|
|
[
|
|
mod: {LiveBeats.Application, []},
|
|
extra_applications: [:logger, :runtime_tools]
|
|
]
|
|
end
|
|
|
|
# Specifies which paths to compile per environment.
|
|
defp elixirc_paths(:test), do: ["lib", "test/support"]
|
|
defp elixirc_paths(_), do: ["lib"]
|
|
|
|
# Specifies your project dependencies.
|
|
#
|
|
# Type `mix help deps` for examples and options.
|
|
defp deps do
|
|
[
|
|
{:bumblebee, github: "elixir-nx/bumblebee"},
|
|
{:castore, "~> 1.0.0"},
|
|
{:dns_cluster, ">= 0.0.0"},
|
|
{:ecto_network, "~> 1.5.0"},
|
|
{:ecto_sql, "~> 3.12.0"},
|
|
{:esbuild, "~> 0.8.0", runtime: Mix.env() == :dev},
|
|
{:exla, ">= 0.0.0"},
|
|
{:finch, "~> 0.19.0"},
|
|
{:flame, "~> 0.5.0"},
|
|
{:floki, "~> 0.36.0", only: :test},
|
|
{:gettext, "~> 0.26.0"},
|
|
{:heroicons, "~> 0.5.3"},
|
|
{:jason, "~> 1.4.0"},
|
|
{:libcluster, "~> 3.4.0"},
|
|
{:mint, "~> 1.6.0"},
|
|
{:phoenix, "~> 1.7.0"},
|
|
{:phoenix_ecto, "~> 4.6.0"},
|
|
{:phoenix_html, "~> 4.1.0", override: true},
|
|
{:phoenix_html_helpers, "~> 1.0.0"},
|
|
{:phoenix_live_dashboard, "~> 0.8.0"},
|
|
{:phoenix_live_reload, "~> 1.5.0", only: :dev},
|
|
{:phoenix_live_view, github: "phoenixframework/phoenix_live_view", override: true},
|
|
{:plug_cowboy, "~> 2.7.0"},
|
|
{:postgrex, "~> 0.19.0"},
|
|
{:req, "~> 0.5.0"},
|
|
{:swoosh, "~> 1.17.0"},
|
|
{:tailwind, "~> 0.2.0"},
|
|
{:telemetry_metrics, "~> 1.0.0"},
|
|
{:telemetry_poller, "~> 1.1.0"}
|
|
]
|
|
end
|
|
|
|
# Aliases are shortcuts or tasks specific to the current project.
|
|
# For example, to install project dependencies and perform other setup tasks, run:
|
|
#
|
|
# $ mix setup
|
|
#
|
|
# See the documentation for `Mix` for more info on aliases.
|
|
defp aliases do
|
|
[
|
|
setup: ["deps.get", "ecto.setup"],
|
|
"ecto.setup": ["ecto.create", "ecto.migrate", "run priv/repo/seeds.exs"],
|
|
"ecto.reset": ["ecto.drop", "ecto.setup"],
|
|
test: ["ecto.create --quiet", "ecto.migrate --quiet", "test"],
|
|
"assets.deploy": [
|
|
"tailwind default --minify",
|
|
"esbuild default --minify",
|
|
"phx.digest"
|
|
]
|
|
]
|
|
end
|
|
end
|