{
  "name": "frontend",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "clean": "rm -rf dist && mkdir dist",
    "copy": "cp -a static/. dist/",
    "build-elm": "elm make Main.elm --output=dist/app.js",
    "watch-elm": "elm-live Main.elm --output=dist/app.js --dir=dist",
    "build-less": "lessc styles/app.less > dist/app.css",
    "watch-less": "catw -w 'styles/**/*.less' -c 'npm run build-less'",
    "build": "npm-run-all clean copy build-elm build-less",
    "watch": "npm-run-all clean copy --parallel watch-elm watch-less"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "devDependencies": {
    "catw": "^1.0.1",
    "elm-live": "^2.6.0",
    "less": "^2.7.1",
    "npm-run-all": "^3.1.1"
  }
}

{
  "name": "frontend",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "clean": "rm -rf dist && mkdir dist",
    "copy": "cp -a static/. dist/",
    "build-elm": "elm make Main.elm --output=dist/app.js",
    "watch-elm": "elm-live Main.elm --output=dist/app.js --dir=dist -- --debug",
    "build-less": "lessc styles/app.less > dist/app.css",
    "watch-less": "catw -w 'styles/**/*.less' -c 'npm run build-less'",
    "build": "npm-run-all clean copy build-elm build-less",
    "watch": "npm-run-all clean copy --parallel watch-elm watch-less"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "devDependencies": {
    "catw": "^1.0.1",
    "elm-live": "^2.6.0",
    "less": "^2.7.1",
    "npm-run-all": "^3.1.1"
  }
}

Make elm-live compile with debug flag
Make elm-live compile with debug flag
