-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
48 lines (41 loc) · 1.01 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
defmodule PhoenixLiveViewBarcodeScanner.MixProject do
use Mix.Project
def project do
[
app: :phoenix_liveview_barcode_scanner,
version: "0.3.0",
elixir: "~> 1.16",
start_permanent: false, # Mix.env() == :prod,
build_embedded: false, # Mix.env == :prod,
description: description(),
package: package(),
deps: deps(),
name: "Phoenix LiveView Barcode Scanner",
source_url: github_url(),
]
end
def application do
[
]
end
defp deps do
[
{:phoenix, "~> 1.7.2"},
{:phoenix_live_view, "~> 0.18.16"},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
]
end
defp description() do
"Capture USB barcode scanner HID input in Phoenix LiveView"
end
defp package() do
[
files: ~w(lib test mix.* README* LICENSE* .formatter.exs),
licenses: ["MIT"],
links: %{"GitHub" => github_url()},
]
end
defp github_url() do
"https://github.com/bchase/phoenix_liveview_barcode_scanner"
end
end