elm-spa/examples/complex/package.json
2019-11-12 16:27:56 -08:00

24 lines
843 B
JSON

{
"name": "complex-elm-spa-example",
"version": "1.0.0",
"description": "an example for elm-spa!",
"main": "src/index.js",
"scripts": {
"start": "npm run dev",
"dev": "npm run elm:spa:build && npm run elm:spa:watch & npm run elm:live",
"build": "npm run elm:spa:build && npm run elm:compile",
"elm:compile": "elm make src/Main.elm --output=dist/elm.compiled.js --optimize",
"elm:live": "elm-live src/Main.elm --start-page=index.html --open --pushstate --port=1234 -- --output=dist/elm.compiled.js --debug",
"elm:spa:build": "echo '🌳 elm-spa build .'",
"elm:spa:watch": "SHELL=/bin/bash chokidar src -c 'npm run elm:spa:build'"
},
"dependencies": {
"chokidar-cli": "2.1.0",
"elm": "0.19.1-3",
"elm-live": "4.0.1",
"elm-spa": "1.1.0"
},
"devDependencies": {},
"keywords": []
}