Permalink
Browse files

Add LICENSE and hex information

  • Loading branch information...
geolessel committed Apr 17, 2017
1 parent c128d82 commit 578815285b0aadc805b1cbceb932258b903c1375
Showing with 45 additions and 10 deletions.
  1. +21 −0 LICENSE
  2. +22 −10 mix.exs
  3. +2 −0 mix.lock
View
21 LICENSE
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2017 Geoffrey Lessel
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
View
32 mix.exs
@@ -7,6 +7,8 @@ defmodule ReactPhoenix.Mixfile do
elixir: "~> 1.4",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
package: package(),
description: description(),
deps: deps()]
end
@@ -18,16 +20,26 @@ defmodule ReactPhoenix.Mixfile do
[extra_applications: [:logger]]
end
# Dependencies can be Hex packages:
#
# {:my_dep, "~> 0.3.0"}
#
# Or git/path repositories:
#
# {:my_dep, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
#
# Type "mix help deps" for more examples and options
def description do
"""
A helper library for easily rendering React components in
Phoenix projects.
"""
end
defp deps do
[]
[
{:ex_doc, ">= 0.0.0", only: :dev}
]
end
defp package do
[
name: :react_phoenix,
files: ["lib", "mix.exs", "README*", "LICENSE*"],
maintainers: ["Geoffrey Lessel"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/geolessel/react-phoenix"}
]
end
end
View
@@ -0,0 +1,2 @@
%{"earmark": {:hex, :earmark, "1.2.0", "bf1ce17aea43ab62f6943b97bd6e3dc032ce45d4f787504e3adf738e54b42f3a", [:mix], []},
"ex_doc": {:hex, :ex_doc, "0.15.1", "d5f9d588fd802152516fccfdb96d6073753f77314fcfee892b15b6724ca0d596", [:mix], [{:earmark, "~> 1.1", [hex: :earmark, optional: false]}]}}

0 comments on commit 5788152

Please sign in to comment.