diff options
author | Joris | 2016-03-21 21:40:15 +0100 |
---|---|---|
committer | Joris | 2016-03-21 21:40:15 +0100 |
commit | 86ffcb49d24d1a42b7fbb69eafa05c932b220efe (patch) | |
tree | 2f81a6a6088bff2ab357f5252411f678e97efc6a | |
parent | 2258ef984fefde41711d4c883baf582b7e581155 (diff) |
Updating package.json
-rw-r--r-- | README.md | 7 | ||||
-rw-r--r-- | package.json | 8 |
2 files changed, 9 insertions, 6 deletions
@@ -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", |