-
Notifications
You must be signed in to change notification settings - Fork 38
/
mix.exs
43 lines (38 loc) · 1.02 KB
/
mix.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
defmodule Reaxt.Mixfile do
use Mix.Project
def project do
[app: :reaxt,
version: "0.2.7",
description: description,
package: package,
elixir: "~> 1.0",
deps: deps]
end
def application do
[applications: [:logger, :poolboy, :exos],
mod: {Reaxt.App,[]},
env: [
otp_app: :reaxt, #the OTP application containing compiled JS server
hot: false, # false | true | :client hot compilation and loading
pool_size: 1, #pool size of react renderes
pool_max_overflow: 5 #maximum pool extension when the pool is full
]]
end
defp deps do
[{:exos, "1.0.0"},
{:poolboy, []},
{:cowboy,"~> 1.0.0"},
{:plug,"~> 0.13.0"},
{:poison,"~> 1.4.0"}]
end
defp package do
[ contributors: ["Arnaud Wetzel"],
licenses: ["The MIT License (MIT)"],
links: %{ "GitHub"=>"https://github.com/awetzel/reaxt"} ]
end
defp description do
"""
Use your react components into your elixir application, using webpack compilation.
"""
end
end