defmodule KinoLiveViewNative.MixProject do use Mix.Project @version "0.2.1" @source_url "https://github.com/liveview-native/kino_live_view_native" def project do [ app: :kino_live_view_native, version: @version, elixir: "~> 1.15", start_permanent: Mix.env() == :prod, deps: deps(), description: "LiveView Native code examples using Kino Smart Cells inside Livebook", docs: [ source_ref: "v#{@version}", # The main page in the docs main: "example", logo: "notebooks/assets/logo.png", extras: ["notebooks/example.livemd"] ], package: package() ] end # Run "mix help compile.app" to learn about applications. def application do [ mod: {KinoLiveViewNative.Application, []}, extra_applications: [:logger] ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:kino, "~> 0.11.3"}, {:plug_cowboy, "~> 2.5"}, {:jason, "~> 1.2"}, {:phoenix, "~> 1.7"}, {:phoenix_live_reload, "~> 1.4"}, {:phoenix_live_view, "< 0.20.3"}, {:live_view_native_swiftui, "~> 0.2.0"}, {:live_view_native, "~> 0.2.0"}, {:req, "~> 0.4.8"}, {:ex_doc, "~> 0.31.0", only: :dev, runtime: false}, {:gettext, "~> 0.20"} ] end # Hex package configuration defp package do %{ maintainers: ["Brooklin Myers"], licenses: ["MIT"], links: %{ "GitHub" => @source_url }, source_url: @source_url } end end