From a7db22556b91bc7c499e010b4c051f4442ad8ce2 Mon Sep 17 00:00:00 2001 From: Joris Date: Tue, 29 Dec 2015 22:38:42 +0100 Subject: Using persona to validate emails --- package.json | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index a44c384..cf98877 100644 --- a/package.json +++ b/package.json @@ -1,15 +1,17 @@ { "devDependencies": { - "watch": "0.16.0" + "watch": "0.17.1" }, "scripts": { - "watch": "npm run watch-server & npm run watch-client", + "watch": "npm run watch-server & npm run watch-elm & npm run watch-js", "watch-server": "watch 'npm run build-and-launch-server --silent' src/server", - "watch-client": "watch 'npm run build-client --silent' src/client", + "watch-elm": "watch 'npm run build-elm --silent' src/client/elm", + "watch-js": "watch 'npm run build-js --silent' src/client/js", - "build": "npm run build-server && npm run build-client", + "build": "npm run build-server && npm run build-elm && npm run build-js", "build-server": "cabal build", - "build-client": "elm make src/client/Main.elm --output public/javascripts/client.js", + "build-elm": "elm make src/client/elm/Main.elm --output public/javascripts/client.js", + "build-js": "cp src/client/js/main.js public/javascripts/main.js && echo 'javascript pasted.'", "build-and-launch-server": "npm run build-server && npm run kill-server && npm run launch-server", "launch-server": "./dist/build/sharedCost/sharedCost &", -- cgit v1.2.3