Packages

A library for NLdoc providing various helper functions for Server Sent Events.

Retired package: Deprecated - Not in use anymore at NLdoc.

Current section

Files

Jump to

mix.exs

defmodule NLdoc.ServerSentEvents.MixProject do
use Mix.Project
def project do
[
app: :nldoc_server_sent_events,
version: "1.0.2",
elixir: "~> 1.17",
start_permanent: Mix.env() == :prod,
deps: deps(),
elixirc_options: [
warnings_as_errors: true
],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test,
"coveralls.cobertura": :test
],
test_coverage: [tool: ExCoveralls],
# Docs and publishing
name: "NLdoc.ServerSentEvents",
source_url: "https://gitlab.com/toegang-voor-iedereen/backend/lib/nldoc_server_sent_events",
description:
"A library for NLdoc providing various helper functions for Server Sent Events.",
docs: &docs/0,
package: [
licenses: ["EUPL-1.2"],
links: %{
"EUPL-1.2 License" => "https://joinup.ec.europa.eu/software/page/eupl"
}
]
]
end
defp docs do
[
main: "NLdoc.ServerSentEvents",
extras: ["README.md"]
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:plug, "~> 1.16"},
# Testing: coverage, JUnit-style test reports for CI, mocking and snapshot testing.
{:excoveralls, "~> 0.18", only: :test},
# Linting & do
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
# Dependency auditing
{:mix_audit, "~> 2.1", only: [:dev, :test], runtime: false},
# Docs
{:ex_doc, "~> 0.34", only: :dev, runtime: false}
]
end
end