Skip to content

FaberVitale/vite-elm-ts-template

Repository files navigation

vite-elm-ts-template

Description

A vite template for building apps with elm and typescript.

Features

Demo

https://vite-elm-ts-template.netlify.app/

Development guide

Quick start

Either open it on your browser (codesandbox) or clone the repository.

Scripts

Install project

npm i

Dev server

npm run dev

Build

npm run build

Generate Ports and Flags types

npm run generate:elm-ts

run tests

npm run test

format

npm run fmt

run linters

npm run lint:elm && npm run lint:ts

Git hooks

On pre-commit, changes are formatted and linted using Husky and lint-staged. See .lintstagedrc.mjs for more details.

CI


License

MIT