defmodule MapSchema.MixProject do use Mix.Project def project do [ app: :map_schema, version: "0.1.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, description: description(), package: package(), deps: deps(), name: "map_schema", source_url: "https://github.com/haskric/map_schema", test_coverage: [tool: ExCoveralls], preferred_cli_env: [coveralls: :test, "coveralls.detail": :test, "coveralls.post": :test, "coveralls.html": :test] ] 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 [ # Json encoder {:jason, "~> 1.2"}, # deps.dev {:earmark, "~> 1.2", only: :dev}, {:ex_doc, "~> 0.19", only: :dev}, {:excoveralls, "~> 0.10", only: :test}, {:credo, "~> 1.5", only: [:dev, :test], runtime: false} ] end defp description do "Simple, agile, map schema in elixir with types check and json encoding" end defp package do [ files: [ "lib", "LICENSE", "mix.exs", "README.md" ], licenses: ["MIT"], links: %{"GitHub" => "https://github.com/haskric/map_schema"} ] end end