blob: cf988778270814f7c79392d53de878256915b80a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{
"devDependencies": {
"watch": "0.17.1"
},
"scripts": {
"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-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-elm && npm run build-js",
"build-server": "cabal build",
"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 &",
"kill-server": "pkill sharedCost || true"
}
}
|