2019-11-12 02:35:15 +03:00
|
|
|
{
|
2019-11-13 03:27:56 +03:00
|
|
|
"name": "complex-elm-spa-example",
|
2019-11-12 02:35:15 +03:00
|
|
|
"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": []
|
|
|
|
}
|