defmodule GraphqlBuilder.MixProject do use Mix.Project def project do [ app: :graphql_builder, version: "0.2.1", elixir: "~> 1.8", start_permanent: Mix.env() == :prod, deps: deps(), package: package(), description: "Tool to build GraphQL query strings from Elixir structs" ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger] ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:credo, "~> 1.0.0", only: [:dev, :test], runtime: false}, {:dialyxir, "~> 1.0.0-rc.6", only: [:dev], runtime: false}, {:ex_doc, ">= 0.0.0", only: :dev, runtime: false} ] end defp package() do [ licenses: ["Apache-2.0"], links: %{"GitHub" => "https://github.com/billperegoy/graphql_builder"} ] end end