Packages
flop_phoenix
0.7.0
0.26.1
0.26.0
0.25.3
0.25.2
0.25.1
0.25.0
0.24.1
0.24.0
0.23.1
0.23.0
0.22.10
0.22.9
0.22.8
0.22.7
0.22.6
0.22.5
0.22.4
0.22.3
0.22.2
0.22.1
0.22.0
0.21.2
0.21.1
0.21.0
0.20.0
0.19.1
0.19.0
0.18.2
0.18.1
0.18.0
0.17.2
0.17.1
0.17.0
0.16.0
0.15.2
0.15.1
0.15.0
0.14.2
0.14.1
0.14.0
0.13.0
0.12.0
0.11.1
0.11.0
0.10.0
0.9.1
0.9.0
0.8.1
0.8.0
0.7.0
0.6.1
0.6.0
0.5.1
0.5.0
0.4.0
0.3.0
0.2.0
0.1.0
Phoenix components for pagination, sortable tables and filter forms using Flop.
Current section
Files
Jump to
Current section
Files
flop_phoenix
mix.exs
mix.exs
defmodule FlopPhoenix.MixProject do
use Mix.Project
@source_url "https://github.com/woylie/flop_phoenix"
@version "0.7.0"
def project do
[
app: :flop_phoenix,
version: @version,
elixir: "~> 1.8",
start_permanent: Mix.env() == :prod,
elixirc_paths: elixirc_paths(Mix.env()),
deps: deps(),
compilers: [:phoenix] ++ Mix.compilers(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test,
"coveralls.github": :test
],
dialyzer: [
ignore_warnings: ".dialyzer_ignore.exs",
list_unused_filters: true,
plt_file: {:no_warn, "priv/plts/dialyzer.plt"}
],
name: "Flop Phoenix",
source_url: @source_url,
homepage_url: @source_url,
description: description(),
package: package(),
docs: docs(),
consolidate_protocols: Mix.env() != :test
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:credo, "~> 1.5.0", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.1.0", only: [:dev], runtime: false},
{:ex_doc, "~> 0.21", only: :dev, runtime: false},
{:ex_machina, "~> 2.4", only: :test},
{:excoveralls, "~> 0.10", only: :test},
{:flop, "~> 0.11.0"},
{:jason, "~> 1.0", only: [:dev, :test]},
{:phoenix_html, "~> 2.14"},
{:phoenix_live_view, "~> 0.15"},
{:plug, "~> 1.10"},
{:stream_data, "~> 0.5", only: [:dev, :test]}
]
end
defp description do
"""
Flop Phoenix defines view helper functions for pagination, sorting and
filtering in Phoenix with Flop.
"""
end
defp package do
[
licenses: ["MIT"],
links: %{
"GitHub" => @source_url,
"Changelog" => "https://hexdocs.pm/flop_phoenix/changelog.html"
},
files: ~w(lib .formatter.exs mix.exs README* LICENSE* CHANGELOG*)
]
end
defp docs do
[
main: "readme",
extras: ["README.md", "CHANGELOG.md"],
source_ref: "main",
groups_for_functions: [
Generators: &(&1[:section] == :generators),
Miscellaneous: &(&1[:section] == :miscellaneous)
]
]
end
end