Packages

Elixir library to easily fetch and transform product data from Shopify stores. Provides functionality to fetch products, collections, and handle pagination with a clean, consistent API.

Current section

Files

Jump to
Raw

mix.exs

defmodule ShopSearch.MixProject do
use Mix.Project
@version "0.2.0"
@source_url "https://github.com/peppyhop/shop_search"
def project do
[
app: :shop_search,
version: @version,
elixir: "~> 1.18",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package(),
docs: docs(),
name: "ShopSearch",
source_url: @source_url
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:req, "~> 0.5.0"},
{:ex_doc, "~> 0.34", only: :dev, runtime: false, warn_if_outdated: true},
{:mock, "~> 0.3.0", only: :test}
]
end
defp description do
"""
Elixir library to easily fetch and transform product data from Shopify stores.
Provides functionality to fetch products, collections, and handle pagination
with a clean, consistent API.
"""
end
defp package do
[
name: "shop_search",
licenses: ["MIT"],
links: %{
"GitHub" => @source_url,
"Changelog" => "#{@source_url}/blob/main/CHANGELOG.md"
},
maintainers: ["Your Name"],
files: ~w(lib .formatter.exs mix.exs README.md LICENSE CHANGELOG.md)
]
end
defp docs do
[
main: "ShopSearch",
source_ref: "v#{@version}",
source_url: @source_url,
extras: ["README.md", "CHANGELOG.md"]
]
end
end