Permalink
Browse files

Initial Setup

  • Loading branch information...
maxhoffmann committed Jan 24, 2016
0 parents commit 354b891946751a8f82380254ff265792e60450dc
Showing with 54 additions and 0 deletions.
  1. +3 −0 .gitignore
  2. +6 −0 Main.elm
  3. +18 −0 elm-package.json
  4. +11 −0 index.html
  5. +16 −0 package.json
@@ -0,0 +1,3 @@
elm-stuff
node_modules
elm.compiled.js
@@ -0,0 +1,6 @@
module Main where
import Html exposing (text)
main =
text "Hello World"
@@ -0,0 +1,18 @@
{
"version": "1.0.0",
"summary": "helpful summary of your project, less than 80 characters",
"repository": "https://github.com/user/project.git",
"license": "BSD3",
"source-directories": [
"."
],
"exposed-modules": [],
"dependencies": {
"elm-lang/core": "3.0.0 <= v < 4.0.0",
"evancz/elm-effects": "2.0.1 <= v < 3.0.0",
"evancz/elm-html": "4.0.2 <= v < 5.0.0",
"evancz/elm-http": "3.0.0 <= v < 4.0.0",
"evancz/start-app": "2.0.2 <= v < 3.0.0"
},
"elm-version": "0.16.0 <= v < 0.17.0"
}
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<title>Elm HTTP Request Example</title>
<script src="/elm.compiled.js"></script>
</head>
<body>
<div id="main"></div>
<script>Elm.embed(Elm.Main, document.getElementById('main'));</script>
</body>
</html>
@@ -0,0 +1,16 @@
{
"name": "elm-http-request",
"version": "1.0.0",
"description": "Example how to do HTTP Requests in Elm",
"main": "index.js",
"scripts": {
"elm": "elm",
"watch": "chokidar '**/*.elm' -c 'elm make Main.elm --output elm.compiled.js --warn'"
},
"author": "Maximilian Hoffmann",
"license": "MIT",
"devDependencies": {
"chokidar-cli": "^1.2.0",
"elm": "^0.16.0"
}
}

0 comments on commit 354b891

Please sign in to comment.