esbuild-elm-template

MIT License

Stars
4
Committers
1
<a href="https://github.com/aotarola/esbuild-elm-template/issues">Report Bug</a>

<a href="https://github.com/aotarola/esbuild-elm-template/issues">Request Feature</a>

Esbuild Elm Template

A small default template for building Elm applications using esbuild + elm-watch, it is heavily based on elm-watch example. It includes the following features:

  • โšก Absolute minimalist
  • ๐Ÿ”ฅ Hot reloading on dev mode
  • ๐Ÿ› ๏ธ Tooling installation via elm-tooling
  • ๐Ÿ’… Elm code linted by elm-review (with reasonable defaults)
  • ๐Ÿงช Tests are run via elm-test-rs
  • ๐Ÿš€ Production Build (minification using UglifyJS)

The aim of this template is to keep things as simple as possible, so it avoids unwanted bloat.

Built With

  • Elm
  • esbuild
  • elm-watch

Getting Started

Installation

  1. Click on the github template button of this repo and clone it, or use tiged:

    npx tiged aotarola/esbuild-elm-template my-elm-app
    cd my-elm-app
    
    
  2. Install NPM packages

    npm ci
    

Usage

Run the application in developer mode

npm start

Check it out in http://localhost:9000

Build for production

npm run build

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Andres Otarola - @aotarola - [email protected]

Project Link: https://github.com/aotarola/esbuild-elm-template

Acknowledgments