mix.exs

defmodule ElementKit.MixProject do
  use Mix.Project

  def project do
    [
      app: :element_kit,
      version: "0.3.1",
      elixir: "~> 1.9",
      start_permanent: Mix.env() == :prod,
      deps: deps(),
      description: "Helper modules to connect an ELEMENT app with ELEMENT IoT",
      package: [
        licenses: ["MIT"],
        links: [],
        files: ["lib/", "mix.exs"]
      ]
    ]
  end

  # Run "mix help compile.app" to learn about applications.
  def application do
    [
      mod: {ElementKit.Application, []},
      extra_applications: [:logger]
    ]
  end

  # Run "mix help deps" to learn about dependencies.
  defp deps do
    [
      {:con_cache, "~> 0.12.1"},
      {:jose, "~> 1.9"},
      {:jason, "~> 1.1"},
      {:timex, "~> 3.6"},
      {:casconf, "~> 0.1.0"},
      {:httpoison, "~> 1.6"},
      {:ecto, "~> 3.1"},
      {:phoenix, "~> 1.4"},
      {:websockex, "~> 0.4.2"},
      {:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
    ]
  end
end