defmodule AbsintheQueryAll.MixProject do use Mix.Project def project do [ app: :absinthe_query_all, version: "0.2.2", description: "A package for automatic, comprehensive querying of Absinthe GraphQL schemas (for purposes of easily creating automatic testing setups).", docs: docs(), package: package(), source_url: "https://gitlab.com/neurodynamic/absinthe_query_all", elixir: "~> 1.17", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, deps: deps(), preferred_cli_env: [ "test.watch": :test ] ] end defp docs() do [ main: "readme", logo: nil, extras: ["README.md"] ] end defp package() do [ licenses: ["MIT"], links: %{ GitLab: "https://gitlab.com/neurodynamic/absinthe_query_all" } ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger] ] end defp elixirc_paths(:test), do: ["lib", "test/support"] defp elixirc_paths(_), do: ["lib"] # Run "mix help deps" to learn about dependencies. defp deps do [ {:absinthe, "~> 1.7.8"}, # Packages security static analysis {:mix_audit, "~> 2.1", only: [:dev, :test], runtime: false}, {:credo, "~> 1.7", only: [:dev, :test], runtime: false}, {:ex_doc, ">= 0.0.0", only: :dev, runtime: false}, {:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false}, {:mix_test_watch, "~> 1.2", only: [:dev, :test], runtime: false} ] end end