From 436b84f9d1a4f9b80a3fc4470c68e4709a596871 Mon Sep 17 00:00:00 2001 From: Ryan Haskell-Glatz Date: Thu, 5 Dec 2019 23:18:32 -0600 Subject: [PATCH] elm-spa commands seem to work on windows now --- cli/initial-projects/elm-ui/package.json | 8 +++++--- cli/initial-projects/html/package.json | 8 +++++--- cli/package-lock.json | 2 +- cli/package.json | 2 +- examples/docs/package.json | 2 +- package-lock.json | 2 +- 6 files changed, 14 insertions(+), 10 deletions(-) diff --git a/cli/initial-projects/elm-ui/package.json b/cli/initial-projects/elm-ui/package.json index 87af9c1..e320ca5 100644 --- a/cli/initial-projects/elm-ui/package.json +++ b/cli/initial-projects/elm-ui/package.json @@ -4,12 +4,13 @@ "description": "learn more at https://elm-spa.dev", "scripts": { "start": "npm install && npm run dev", - "dev": "npm run elm:spa:build && npm run elm:spa:watch & npm run elm:live", + "dev": "npm run elm:spa:build && npm run build:watch", "build": "npm run elm:spa:build && npm run elm:compile", + "build:watch": "concurrently --kill-others \"npm run elm:spa:watch\" \"npm run elm:live\"", "elm:compile": "elm make src/Main.elm --output=public/dist/elm.compiled.js --optimize", "elm:live": "elm-live src/Main.elm --dir=public --start-page=index.html --open --pushstate --port=1234 -- --output=public/dist/elm.compiled.js --debug", "elm:spa:build": "elm-spa build .", - "elm:spa:watch": "chokidar 'src/Pages' -c 'npm run elm:spa:build'" + "elm:spa:watch": "chokidar src/Pages -c \"npm run elm:spa:build\"" }, "keywords": [], "author": "", @@ -17,8 +18,9 @@ "dependencies": {}, "devDependencies": { "chokidar-cli": "2.1.0", + "concurrently": "5.0.0", "elm": "0.19.1-3", "elm-live": "4.0.1", - "elm-spa": "2.0.8" + "elm-spa":"2.0.9" } } diff --git a/cli/initial-projects/html/package.json b/cli/initial-projects/html/package.json index 87af9c1..e320ca5 100644 --- a/cli/initial-projects/html/package.json +++ b/cli/initial-projects/html/package.json @@ -4,12 +4,13 @@ "description": "learn more at https://elm-spa.dev", "scripts": { "start": "npm install && npm run dev", - "dev": "npm run elm:spa:build && npm run elm:spa:watch & npm run elm:live", + "dev": "npm run elm:spa:build && npm run build:watch", "build": "npm run elm:spa:build && npm run elm:compile", + "build:watch": "concurrently --kill-others \"npm run elm:spa:watch\" \"npm run elm:live\"", "elm:compile": "elm make src/Main.elm --output=public/dist/elm.compiled.js --optimize", "elm:live": "elm-live src/Main.elm --dir=public --start-page=index.html --open --pushstate --port=1234 -- --output=public/dist/elm.compiled.js --debug", "elm:spa:build": "elm-spa build .", - "elm:spa:watch": "chokidar 'src/Pages' -c 'npm run elm:spa:build'" + "elm:spa:watch": "chokidar src/Pages -c \"npm run elm:spa:build\"" }, "keywords": [], "author": "", @@ -17,8 +18,9 @@ "dependencies": {}, "devDependencies": { "chokidar-cli": "2.1.0", + "concurrently": "5.0.0", "elm": "0.19.1-3", "elm-live": "4.0.1", - "elm-spa": "2.0.8" + "elm-spa":"2.0.9" } } diff --git a/cli/package-lock.json b/cli/package-lock.json index 779937b..f4ca08e 100644 --- a/cli/package-lock.json +++ b/cli/package-lock.json @@ -1,5 +1,5 @@ { "name": "elm-spa", - "version": "2.0.8", + "version":"2.0.9", "lockfileVersion": 1 } diff --git a/cli/package.json b/cli/package.json index a958203..575ea49 100644 --- a/cli/package.json +++ b/cli/package.json @@ -1,6 +1,6 @@ { "name": "elm-spa", - "version": "2.0.8", + "version":"2.0.9", "description": "the cli companion tool for ryannhg/elm-spa", "main": "src/index.js", "bin": "src/index.js", diff --git a/examples/docs/package.json b/examples/docs/package.json index 87af9c1..4689a5e 100644 --- a/examples/docs/package.json +++ b/examples/docs/package.json @@ -19,6 +19,6 @@ "chokidar-cli": "2.1.0", "elm": "0.19.1-3", "elm-live": "4.0.1", - "elm-spa": "2.0.8" + "elm-spa":"2.0.9" } } diff --git a/package-lock.json b/package-lock.json index 7dd3faa..62500d8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1076,7 +1076,7 @@ "dev": true }, "get-value": { - "version": "2.0.8", + "version":"2.0.9", "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=", "dev": true