elm-spa commands seem to work on windows now

This commit is contained in:
Ryan Haskell-Glatz 2019-12-05 23:18:32 -06:00
parent 4f51def7bd
commit 436b84f9d1
6 changed files with 14 additions and 10 deletions

View File

@ -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"
}
}

View File

@ -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"
}
}

2
cli/package-lock.json generated
View File

@ -1,5 +1,5 @@
{
"name": "elm-spa",
"version": "2.0.8",
"version":"2.0.9",
"lockfileVersion": 1
}

View File

@ -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",

View File

@ -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"
}
}

2
package-lock.json generated
View File

@ -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