Full environment setup for an Elm SPA application, including bundle, TypeScript, Sass, tests and dev server.
Command |
Description |
yarn build |
Generates bundled build to ./dist in optimized production mode |
yarn dev |
Generates bundled build in watch and debug mode and runs dev server on localhost:9999 |
yarn lint |
Runs lint on Elm source files, using elm-format and elm-review |
yarn lint:watch |
Runs lint on Elm source files in watch mode, using elm-review |
yarn test |
Runs Elm test suites |
yarn test:watch |
Runs Elm test suites in watch mode |
Type |
Dependency |
Version |
App |
elm |
0.19 |
Testing |
elm-test |
0.19 |
Entrypoint |
typescript |
4.7 |
Bundler |
esbuild |
0.14 |
CSS preprocessing |
sass |
1.53 |
CSS compatibility |
postcss |
8.4 |