Crates.io | elm-ui-project |
lib.rs | elm-ui-project |
version | 0.1.6 |
source | src |
created_at | 2019-10-06 23:18:54.932714 |
updated_at | 2019-10-08 22:50:29.023457 |
description | Elm-ui project boilerplate generator |
homepage | |
repository | https://github.com/NikosEfthias/elm-ui-project |
max_upload_size | |
id | 170455 |
size | 23,087 |
Quickly create boilerplate code for elm ui projects
USAGE:
elm-ui-project <project>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
ARGS:
<project>
Elm-ui-project crates the app skeleton as well as a makefile.
make dev # create a dev build under dist directory
make build # create a optimized production build
make devserver # start elm-live devserver (requires elm-live)
make minify # minify out.js using uglifyjs (requires uglifyjs)
out.js
file is automatically hashed after every change and {{elmout}}.js
in index.html
is automatically set to the new value.
Makefile uses several variables to provide a nicer control over build/development process
elm-live host
Default: 0.0.0.0
make devserver ELMDEVFLAGS= # start devserver dont pass default --debug flag
make build && make minify # optimize and minify and hash the output file
make clean # delete dist directory