Current section
Files
Jump to
Current section
Files
phoenix_components
mix.exs
mix.exs
defmodule PhoenixComponents.Mixfile do
use Mix.Project
def project do
[
app: :phoenix_components,
build_embedded: Mix.env == :prod,
deps: deps(),
description: description(),
elixir: "~> 1.4",
package: package(),
source_url: "https://github.com/mvdwg/phoenix_components",
start_permanent: Mix.env == :prod,
version: "1.0.2",
]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
# Specify extra applications you'll use from Erlang/Elixir
[extra_applications: [:logger]]
end
# Dependencies can be Hex packages:
#
# {:my_dep, "~> 0.3.0"}
#
# Or git/path repositories:
#
# {:my_dep, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
#
# Type "mix help deps" for more examples and options
defp deps do
[
{:phoenix, "~> 1.2.1"},
{:phoenix_html, "~> 2.6"},
{:ex_doc, ">= 0.0.0", only: :dev},
{:floki, ">= 0.17.2", only: :test},
]
end
defp description do
"""
This library helps you write encapsulated bits of HTML into a single unit called component in your server rendered Phoenix web site. Similar to how react/ember/web components do.
"""
end
defp package do
[
files: ["lib", "mix.exs", "README*", "LICENSE*"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/mvdwg/phoenix_components"},
maintainers: ["Santiago Ferreira"],
name: :phoenix_components,
]
end
end