Commit eef0cf46 authored by Joris's avatar Joris

Upgrade to elm 0.15.1 and use npm to build

parent 5af770bd
elm-stuff
elm.js
node_modules
client.js
......@@ -10,10 +10,12 @@ You can play at [http://guyonvarch.github.io/catchvoid](http://guyonvarch.github
Usage
-----
Install the elm platform:
http://elm-lang.org/Install.elm
Install the elm platform: http://elm-lang.org/Install.elm
Launch the following command:
```
./gen
Launch the following commands:
```bash
elm package install
npm install
npm start
```
{
"version": "2.2.1",
"summary": "",
"description": "",
"summary": "cAtchVoid",
"repository": "https://github.com/guyonvarch/catchvoid.git",
"license": "BSD3",
"source-directories": ["src"],
"exposed-modules": [],
"elm-version": "0.15.0 <= v < 0.16.0",
"elm-version": "0.15.1 <= v < 0.16.0",
"dependencies": {
"elm-lang/core": "2.0.1 <= v < 3.0.0",
"evancz/elm-html": "3.0.0 <= v < 4.0.0"
"elm-lang/core": "2.1.0 <= v < 3.0.0",
"evancz/elm-html": "4.0.1 <= v < 5.0.0"
}
}
......@@ -6,7 +6,7 @@
<title>cAtchVoid</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="style.css">
<script src="elm.js"></script>
<script src="client.js"></script>
</head>
<body>
......
{
"devDependencies": {
"watch": "0.16.0",
"http-server": "0.8.5"
},
"scripts": {
"start": "npm run watch",
"watch": "npm run launch-server && watch 'npm run build-client --silent' src",
"build": "elm make src/Main.elm --output client.js",
"launch-server": "npm run kill-server && http-server ./ -p 8080",
"kill-server": "fuser -k 8080/tcp || true"
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment