defmodule Dialup.MixProject do use Mix.Project def project do [ app: :dialup, version: "0.1.3", elixir: "~> 1.19", start_permanent: Mix.env() == :prod, elixirc_paths: elixirc_paths(Mix.env()), deps: deps(), package: package(), # ドキュメント生成設定 name: "Dialup", description: "WebSocket-first Elixir framework with auto-generated HTTP MCP APIs", source_url: "https://github.com/SouichiroTsujimoto/Dialup", homepage_url: "https://dialup-framework.org", docs: [ main: "readme-1", extras: [ "README.md", "README.ja.md", "guides/README.md", "guides/getting-started.md", "guides/fullstack-example.md", "guides/routing.md", "guides/state-management.md", "guides/lifecycle.md", "guides/events.md", "guides/agent-native-app-development.md", "guides/mcp-api.md", "guides/agent-handoff.md", "guides/agent-pitfalls.md", "guides/file-upload.md", "guides/helpers.md", "guides/testing.md", "guides/telemetry.md", "guides/deployment.md" ], groups_for_extras: [ Guides: ~w(guides/README.md guides/getting-started.md guides/fullstack-example.md guides/routing.md guides/state-management.md guides/lifecycle.md guides/events.md guides/agent-native-app-development.md guides/mcp-api.md guides/agent-handoff.md guides/agent-pitfalls.md guides/file-upload.md guides/helpers.md guides/testing.md guides/telemetry.md guides/deployment.md) ] ] ] end # Run "mix help compile.app" to learn about applications. def application do [ # mod: {Dialup, []}, extra_applications: [:logger] ] end defp elixirc_paths(:test), do: ["lib", "test/support"] defp elixirc_paths(_), do: ["lib"] # Run "mix help deps" to learn about dependencies. defp deps do [ {:bandit, "~> 1.8"}, {:websock_adapter, "~> 0.5"}, {:jason, "~> 1.4"}, {:plug, "~> 1.16"}, {:phoenix_live_view, "~> 1.0"}, {:telemetry, "~> 1.0"}, # 開発依存 {:ex_doc, "~> 0.31", only: :dev, runtime: false} ] end defp package do [ name: :dialup, description: "WebSocket-first Elixir framework with auto-generated HTTP MCP APIs", licenses: ["MIT"], links: %{ "Website" => "https://dialup-framework.org", "GitHub" => "https://github.com/SouichiroTsujimoto/Dialup" }, files: ~w(lib priv guides AGENTS.md mix.exs README.md README.ja.md LICENSE) ] end end