use latest elm-spa package.json on example project

This commit is contained in:
Ryan Haskell-Glatz 2020-03-28 01:25:48 -05:00
parent a07f43c484
commit b6be588199
2 changed files with 10 additions and 1457 deletions

1452
example/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,23 +1,28 @@
{
"name": "elm-spa-example",
"version": "4.0.0",
"description": "single page apps made easy",
"main": "index.js",
"description": "my new elm-spa application",
"main": "public/index.html",
"scripts": {
"start": "npm install && npm run build && npm run dev",
"build": "npm run build:elm-spa && npm run build:elm",
"build:elm-spa": "elm-spa build .",
"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": "elm-live src/Main.elm -u -d public -- --debug --output public/dist/elm.js"
},
"keywords": [],
"keywords": [
"elm",
"spa"
],
"author": "Ryan Haskell-Glatz",
"license": "ISC",
"devDependencies": {
"chokidar-cli": "2.1.0",
"concurrently": "5.0.0",
"elm": "0.19.1-3",
"elm-live": "4.0.2"
"elm-live": "4.0.2",
"elm-spa": "4.0.3"
}
}