Create a new directory for your application and cd into the directory.
mkdir myapp
cd myapp
initialize elm in the directory
elm init
add the following packages to elm.json dependencies.
"MacCASOutreach/graphicsvg": "7.1.0",
"elm/browser": "1.0.2",
"elm/core": "1.0.4",
"elm/html": "1.0.0",
"elm/http": "2.0.0",
"elm/json": "1.1.3",
"elm/random": "1.0.0",
"elm/svg": "1.0.1",
"elm/time": "1.0.0",
"elm-community/list-extra": "8.2.3",
using npm
install elm-test.
run elm-test init
.
in the tests
directory that is created automatically, add testing
files.
to run a test: elm-test
in the shell.