aboutsummaryrefslogtreecommitdiff
path: root/package.json
blob: 35d033a5c41f7833e8135d320a1be1f610f810f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 --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"
  }
}