use concurrently + elm-spa deps

This commit is contained in:
Ryan Haskell-Glatz 2020-03-27 00:17:48 -05:00
parent c09a5f108c
commit 43bf937d4d

View File

@ -8,7 +8,7 @@
"build": "npm run build:elm-spa && npm run build:elm", "build": "npm run build:elm-spa && npm run build:elm",
"build:elm-spa": "elm-spa build .", "build:elm-spa": "elm-spa build .",
"build:elm": "elm make src/Main.elm --optimize --output public/dist/elm.js", "build:elm": "elm make src/Main.elm --optimize --output public/dist/elm.js",
"dev": "npm run dev:elm-spa & npm run dev:elm", "dev": "concurrently --raw --kill-others \"npm run dev:elm-spa\" \"npm run dev:elm\"",
"dev:elm-spa": "chokidar src/Pages -c \"npm run build:elm-spa\"", "dev:elm-spa": "chokidar src/Pages -c \"npm run build:elm-spa\"",
"dev:elm": "elm-live src/Main.elm -u -d public -- --debug --output public/dist/elm.js" "dev:elm": "elm-live src/Main.elm -u -d public -- --debug --output public/dist/elm.js"
}, },
@ -20,7 +20,9 @@
"license": "ISC", "license": "ISC",
"devDependencies": { "devDependencies": {
"chokidar-cli": "2.1.0", "chokidar-cli": "2.1.0",
"concurrently": "5.0.0",
"elm": "0.19.1-3", "elm": "0.19.1-3",
"elm-live": "4.0.2" "elm-live": "4.0.2",
"elm-spa": "4.0.2"
} }
} }