defmodule JsonRfc.MixProject do @moduledoc false use Mix.Project def project do [ app: :jsonrfc, version: "0.3.2", elixir: "~> 1.10", description: description(), package: package(), deps: deps(), source_url: "https://github.com/lygaret/ex-jsonrfc", dialyzer: dialyzer(), docs: [ main: "readme", extras: ["README.md"] ] ] end def application, do: [] defp deps do [ {:espec, "~> 1.8.2", only: :test}, {:coverex, "~> 1.4.10", only: :test}, {:ex_doc, "~> 0.22", only: [:dev, :test], runtime: false}, {:dialyxir, "~> 1.0", only: [:dev, :test], runtime: false}, {:credo, "~> 1.4", only: [:dev, :test], runtime: false} ] end defp description, do: String.trim(""" Implementations of JSON RFC 6901 and 6902, Pointers and Patch respectively. Pointer allows evaluating and transforming a JSON document at a given keypath. Patch encodes operations that abstract pointer transformations. """) defp package() do [ licenses: ["MIT"], links: %{ "Github" => "https://github.com/lygaret/ex-jsonrfc", "Homepage" => "https://accidental.cc" } ] end defp dialyzer() do [ plt_core_path: "priv/plts", plt_file: {:no_warn, "priv/plts/dialyzer.plt"} ] end end