defmodule Klaviyo.MixProject do use Mix.Project def project do [ app: :klaviyo, version: "3.0.0", elixir: "~> 1.12", start_permanent: Mix.env() == :prod, deps: deps(), dialyzer: [plt_add_apps: [:hackney]], package: package() ] end def application do [ extra_applications: [:logger] ] end defp deps do [ {:hackney, "~> 1.15", optional: true}, {:jason, "~> 1.1", optional: true}, {:dialyxir, "~> 1.1", only: :dev, runtime: false}, {:ex_doc, ">= 0.0.0", only: :dev, runtime: false}, {:bypass, "~> 2.1", only: :test} ] end defp package do [ description: "Elixir client for the Klaviyo REST API", maintainers: ["Anthony Smith"], licenses: ["MIT"], links: %{ GitHub: "https://github.com/malomohq/klaviyo-elixir", "Made by Malomo - Post-purchase experiences that customers love": "https://gomalomo.com" } ] end end