aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md7
-rw-r--r--package.json8
2 files changed, 9 insertions, 6 deletions
diff --git a/README.md b/README.md
index 03b07c0..aad62b4 100644
--- a/README.md
+++ b/README.md
@@ -7,11 +7,16 @@ Use the arrow keys to move and 'e' to change your color.
You can play at [http://guyonvarch.github.io/catchvoid](http://guyonvarch.github.io/catchvoid).
+Required dependencies
+---------------------
+
+- `npm`
+- `elm`
+
Usage
-----
```bash
npm install
-npm run install-elm
npm start
```
diff --git a/package.json b/package.json
index 21cec49..00d42c4 100644
--- a/package.json
+++ b/package.json
@@ -1,14 +1,12 @@
{
"devDependencies": {
- "watch": "0.16.0",
- "http-server": "0.8.5",
- "elm": "0.16.0"
+ "nodemon": "1.9.1",
+ "http-server": "0.8.5"
},
"scripts": {
- "install-elm": "elm package install",
"start": "npm run watch",
- "watch": "npm run launch-server & watch 'npm run build --silent' src",
+ "watch": "npm run launch-server & nodemon --watch src -e elm --exec 'npm run build --silent'",
"build": "elm make src/Main.elm --output client.js",
"launch-server": "npm run kill-server && http-server ./ -p 8080",