From 86ffcb49d24d1a42b7fbb69eafa05c932b220efe Mon Sep 17 00:00:00 2001 From: Joris Date: Mon, 21 Mar 2016 21:40:15 +0100 Subject: Updating package.json --- README.md | 7 ++++++- package.json | 8 +++----- 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", -- cgit v1.2.3