Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Tungsten.MixProject do
@moduledoc false
use Mix.Project
def project do
[
app: :tungsten,
version: "0.1.0",
elixir: "~> 1.8",
start_permanent: Mix.env() == :prod,
deps: deps(),
name: "Tungsten",
description: "An Elixir library for browser automation using the Chrome DevTools Protocol",
package: package(),
docs: docs(),
source_url: "https://github.com/novistore/tungsten",
dialyzer: [
plt_add_apps: [:jason]
]
]
end
def application do
[
extra_applications: [:logger]
]
end
defp package do
[
maintainers: ["Jeroen Visser"],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/novistore/tungsten"
}
]
end
defp docs do
[
main: "Tungsten",
extras: ["README.md"],
groups_for_modules: [
"DevTools Protocol": ~r/^Tungsten\.CDP\./,
"Code generation (Internal)": ~r/^Tungsten\.Codegen\./
]
]
end
defp deps do
[
{:dialyxir, "~> 1.0.0-rc.6", only: [:dev], runtime: false},
{:excoveralls, "~> 0.10", only: :test, runtime: false},
{:credo, "~> 1.0.4", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.20", only: [:dev, :docs], runtime: false},
{:websockex, "~> 0.4.0"},
{:jason, "~> 1.0", optional: true}
]
end
end