-
Notifications
You must be signed in to change notification settings - Fork 38
/
mix.exs
46 lines (42 loc) · 1003 Bytes
/
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
defmodule Esbuild.MixProject do
use Mix.Project
@version "0.8.2"
@source_url "https://github.com/phoenixframework/esbuild"
def project do
[
app: :esbuild,
version: @version,
elixir: "~> 1.11",
deps: deps(),
description: "Mix tasks for installing and invoking esbuild",
package: [
links: %{
"GitHub" => @source_url,
"esbuild" => "https://esbuild.github.io"
},
licenses: ["MIT"]
],
docs: [
main: "Esbuild",
source_url: @source_url,
source_ref: "v#{@version}",
extras: ["CHANGELOG.md"]
],
aliases: [test: ["esbuild.install --if-missing", "test"]]
]
end
def application do
[
extra_applications: [:logger, inets: :optional, ssl: :optional],
mod: {Esbuild, []},
env: [default: []]
]
end
defp deps do
[
{:castore, ">= 0.0.0"},
{:jason, "~> 1.4"},
{:ex_doc, ">= 0.0.0", only: :docs}
]
end
end