Packages
shopifex
0.5.2
2.4.0
2.3.0
2.2.2
2.2.1
2.2.0
2.1.20
2.1.19
2.1.18
2.1.17
2.1.16
2.1.15
2.1.14
2.1.13
2.1.12
2.1.11
2.1.10
2.1.9
2.1.8
2.1.7
2.1.6
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.1
2.0.0
1.1.1
1.1.0
1.0.1
1.0.0
0.6.2
0.6.1
0.6.0
0.5.7
0.5.6
0.5.5
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.1
0.4.0
0.3.6
0.3.5
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.1
0.2.0
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
Phoenix boilerplate for Shopify Embedded App SDK
Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Shopifex.MixProject do
use Mix.Project
def project do
[
app: :shopifex,
version: "0.5.2",
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
compilers: [:phoenix, :gettext] ++ Mix.compilers(),
deps: deps(),
aliases: aliases(),
elixirc_paths: elixirc_paths(Mix.env()),
# Hex
description: "Phoenix boilerplate for Shopify Embedded App SDK",
package: [
maintainers: ["Eric Froese"],
licenses: ["Apache-2.0"],
links: %{
"GitHub" => "https://github.com/ericdude4/shopifex",
"ericfroese.ca" => "https://ericfroese.ca"
}
],
# Docs
name: "Shopifex",
source_url: "https://github.com/ericdude4/shopifex",
homepage_url: "https://github.com/ericdude4/shopifex",
docs: [
# The main page in the docs
main: "Shopifex",
extras: ["README.md"]
]
]
end
# A hack to bypass default env (https://stackoverflow.com/questions/51788263/module-conncase-is-not-loaded-and-could-not-be-found)
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
# Run "mix help compile.app" to learn about applications.
def application do
[
mod: {Shopifex.Application, []},
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:phoenix, "~> 1.5.1"},
{:phoenix_ecto, "~> 4.1"},
{:ecto_sql, "~> 3.4"},
{:postgrex, ">= 0.0.0"},
{:phoenix_html, "~> 2.11"},
{:gettext, "~> 0.11"},
{:jason, "~> 1.0"},
{:plug_cowboy, "~> 2.0"},
{:shopify, "~> 0.4"},
{:ex_doc, "~> 0.14", only: :dev, runtime: false},
{:react_phoenix, "~> 1.2"},
{:guardian, "~> 2.0"}
]
end
defp aliases do
[
test: [
"ecto.create --quiet --repo ShopifexDummy.Repo",
"ecto.migrate --quiet --repo ShopifexDummy.Repo --migrations-path test/support/shopifex_dummy/priv/repo/migrations",
"test"
]
]
end
end