Packages
ex_iconify
0.1.0
Iconify icons for Elixir and Phoenix applications. Access 200,000+ icons from 100+ icon sets including Lucide, Material Design Icons, Tabler, Phosphor, Heroicons, and more. Icons are fetched from the Iconify API and cached for fast subsequent access.
Current section
Files
Jump to
Current section
Files
ex_iconify
mix.exs
mix.exs
defmodule ExIconify.MixProject do
use Mix.Project
@version "0.1.0"
@source_url "https://github.com/Bishwas-py/ex_iconify"
def project do
[
app: :ex_iconify,
version: @version,
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package(),
docs: docs(),
name: "ExIconify",
source_url: @source_url,
homepage_url: @source_url,
# Testing
elixirc_paths: elixirc_paths(Mix.env()),
test_coverage: [tool: ExCoveralls]
]
end
def cli do
[
preferred_envs: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.html": :test
]
]
end
def application do
[
extra_applications: [:logger, :inets, :ssl],
mod: {ExIconify.Application, []}
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp deps do
[
# HTTP client
{:req, "~> 0.5", optional: true},
# Phoenix (optional - for component)
{:phoenix_live_view, "~> 1.0", optional: true},
# Documentation
{:ex_doc, "~> 0.31", only: :dev, runtime: false},
# Testing
{:mox, "~> 1.0", only: :test},
{:excoveralls, "~> 0.18", only: :test}
]
end
defp description do
"""
Iconify icons for Elixir and Phoenix applications.
Access 200,000+ icons from 100+ icon sets including Lucide, Material Design Icons,
Tabler, Phosphor, Heroicons, and more. Icons are fetched from the Iconify API
and cached for fast subsequent access.
"""
end
defp package do
[
name: "ex_iconify",
files: ~w(lib .formatter.exs mix.exs README.md LICENSE CHANGELOG.md),
licenses: ["MIT"],
links: %{
"GitHub" => @source_url,
"Changelog" => "#{@source_url}/blob/main/CHANGELOG.md",
"Iconify" => "https://iconify.design"
},
maintainers: ["Bishwas Bhandari"]
]
end
defp docs do
[
main: "readme",
source_ref: "v#{@version}",
source_url: @source_url,
extras: ["README.md", "CHANGELOG.md", "LICENSE"],
groups_for_modules: [
Core: [ExIconify, ExIconify.Icon],
"Icon Sets": [ExIconify.Sets],
Internal: [ExIconify.Cache, ExIconify.API]
]
]
end
end