mirror of
https://github.com/ryannhg/elm-spa.git
synced 2024-11-23 02:04:22 +03:00
24 lines
832 B
JSON
24 lines
832 B
JSON
{
|
|
"name": "your-elm-spa",
|
|
"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": []
|
|
}
|