Packages
nldoc_conversion_reader_tiptap
1.1.5
2.1.1
2.1.0
2.0.1
1.2.40
1.2.39
1.2.38
1.2.37
1.2.36
1.2.35
1.2.34
1.2.33
1.2.32
1.2.31
1.2.30
1.2.29
1.2.28
1.2.27
1.2.26
1.2.25
1.2.24
1.2.23
1.2.22
1.2.21
1.2.20
1.2.19
1.2.18
1.2.17
1.2.16
1.2.15
1.2.14
1.2.13
1.2.12
1.2.11
1.2.10
1.2.9
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.0
Logic for reading Tiptap format to NLdoc Spec.
Current section
Files
Jump to
Current section
Files
nldoc_conversion_reader_tiptap
mix.exs
mix.exs
defmodule NLdoc.Conversion.Reader.Tiptap.MixProject do
use Mix.Project
@name "NLdoc.Conversion.Reader.Tiptap"
@source_url "https://gitlab.com/toegang-voor-iedereen/backend/lib/nldoc_conversion_reader_tiptap"
@hex_url "https://hex.docs.pm/nldoc_conversion_reader_tiptap"
@description "Logic for reading Tiptap format to NLdoc Spec."
def project do
[
app: :nldoc_conversion_reader_tiptap,
version: "1.1.5",
elixir: "~> 1.17",
start_permanent: Mix.env() == :prod,
deps: deps(),
elixirc_paths: elixirc_paths(Mix.env()),
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: @name,
source_url: @source_url,
description: @description,
docs: &docs/0,
package: package()
]
end
defp docs do
[
extras: ["README.md", "CHANGELOG.md"],
source_url: @source_url
]
end
def package do
[
files: [
"lib/nldoc/conversion/reader/*.ex",
"lib/nldoc/conversion/reader/tiptap/*.ex",
"mix.exs",
"README.md",
"LICENSE",
"CHANGELOG.md"
],
licenses: ["EUPL-1.2"],
links: %{
"Changelog" => @hex_url <> "/changelog.html",
"EUPL-1.2 License" => "https://joinup.ec.europa.eu/software/page/eupl",
"Source" => @source_url
}
]
end
def elixirc_paths(_), do: ["lib"]
def application do
[
extra_applications: []
]
end
defp deps do
[
{:nldoc_spec, "~> 1.3"},
# Testing: coverage, JUnit-style test reports for CI, mocking and snapshot testing.
{:excoveralls, "~> 0.18", only: :test},
{:nldoc_test, "~> 3.0", 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.37", only: :dev, runtime: false}
]
end
end