From eef0cf46c150cd12e783aa8dc62f825a59757855 Mon Sep 17 00:00:00 2001 From: Joris Date: Fri, 13 Nov 2015 20:12:21 +0100 Subject: Upgrade to elm 0.15.1 and use npm to build --- package.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 package.json (limited to 'package.json') diff --git a/package.json b/package.json new file mode 100644 index 0000000..afa017c --- /dev/null +++ b/package.json @@ -0,0 +1,15 @@ +{ + "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" + } +} -- cgit v1.2.3