mirror of
https://github.com/ryannhg/elm-spa.git
synced 2024-11-25 23:43:02 +03:00
use concurrently + elm-spa deps
This commit is contained in:
parent
c09a5f108c
commit
43bf937d4d
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user