this repo has no description
1defmodule EslHn.MixProject do
2 use Mix.Project
3
4 def project do
5 [
6 app: :esl_hn,
7 version: "0.1.0",
8 elixir: "~> 1.14",
9 elixirc_paths: elixirc_paths(Mix.env()),
10 start_permanent: Mix.env() == :prod,
11 aliases: aliases(),
12 deps: deps()
13 ]
14 end
15
16 def application do
17 [
18 mod: {EslHn.Application, []},
19 extra_applications: [:logger, :runtime_tools, :os_mon]
20 ]
21 end
22
23 defp elixirc_paths(:test), do: ["lib", "test/support"]
24 defp elixirc_paths(_), do: ["lib"]
25
26 defp deps do
27 [
28 {:phoenix, "~> 1.7.21"},
29 {:bandit, "~> 1.5"},
30
31 # HackerNews client
32 {:req, "~> 0.5.15"},
33 {:req_telemetry,
34 github: "hauleth/req_telemetry", ref: "template-paths-as-metadata"},
35 {:ecto, "~> 3.13"},
36
37 # Monitoring
38 {:phoenix_live_dashboard, "~> 0.8.3"},
39 {:telemetry_metrics, "~> 1.0"},
40 {:telemetry_poller, "~> 1.0"},
41
42 # Linting
43 {:credo, ">= 0.0.0", only: [:dev]},
44 {:dialyxir, ">= 0.0.0", only: [:dev]},
45
46 # Testing
47 {:test_server, "~> 0.1.21", only: [:test]},
48 {:stream_data, "~> 1.0", only: [:dev, :test]},
49 # Websocket client for testing custom socket transport, I have no idea how
50 # ti can test it better
51 {:fresh, "~> 0.4.4", only: [:test]}
52 ]
53 end
54
55 defp aliases do
56 [
57 setup: ["deps.get"]
58 ]
59 end
60end