Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vladimirlogachev/elm-app-template

Simple elm template
https://github.com/vladimirlogachev/elm-app-template

Last synced: about 1 month ago
JSON representation

Simple elm template

Awesome Lists containing this project

README

        

# Elm app

Simple elm app template

## Set up

- Install Elm: https://guide.elm-lang.org/install/elm.html
- `npm i`

## Run

- `npm start` – run dev server, watching files
- Open http://localhost:4040

## Other NPM scripts

- `npm run start-debug` – run dev server, watching files, with Elm debugger
- `npm run start-optimized` – run dev server, watching files, enable Elm compiler production optimizations
- `npm run typecheck` – compile, but don't run
- `npm run test-watch` – run unit tests, watching files
- `npm test` – run unit tests
- `npm run format-fix-all` – format all files
- `npm run format-validate` – check if files are formatted properly
- `npm run review` – lint the code, fail on linter warning
- `npm run review-fix-interactive` – lint the code, fix errors interactively
- `npm run review-fix-all` – lint the code, fix errors automatically
- `npm run precommit` – format, lint and test, for CI
- `npm run precommit-fix` – format, lint and test, fix automatically

## Useful links

- [Elm-ui patterns](https://korban.net/elm/elm-ui-patterns/button)