defmodule PhoenixJsonLogger.MixProject do use Mix.Project def project do [ app: :phoenix_json_logger, version: "0.2.0", elixir: "~> 1.9", start_permanent: Mix.env() == :prod, deps: deps(), description: description(), package: package() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger] ] end defp description() do "Phoenix logs in JSON format." end defp package do [ # This option is only needed when you don't want to use the OTP application name name: "phoenix_json_logger", # These are the default files included in the package files: ~w(lib .formatter.exs mix.exs README.md LICENSE), licenses: ["Apache-2.0"], links: %{"GitHub" => "https://github.com/lazureykis/phoenix_json_logger"} ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:jason, "~> 1.1"}, {:plug, "~> 1.8"}, {:ex_doc, ">= 0.0.0", only: :dev, runtime: false} # {:dep_from_hexpm, "~> 0.3.0"}, # {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"} ] end end