aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoris2016-03-21 21:40:15 +0100
committerJoris2016-03-21 21:40:15 +0100
commit86ffcb49d24d1a42b7fbb69eafa05c932b220efe (patch)
tree2f81a6a6088bff2ab357f5252411f678e97efc6a
parent2258ef984fefde41711d4c883baf582b7e581155 (diff)
downloadcatchvoid-86ffcb49d24d1a42b7fbb69eafa05c932b220efe.tar.gz
catchvoid-86ffcb49d24d1a42b7fbb69eafa05c932b220efe.tar.bz2
catchvoid-86ffcb49d24d1a42b7fbb69eafa05c932b220efe.zip
Updating package.json
-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",