bucklescript-tea-sam
v0.4.0
Published
[![Build Status](https://travis-ci.org/supersubwoofer/bucklescript-tea-sam.svg?branch=bucklescript-tea-sam)](https://travis-ci.org/supersubwoofer/bucklescript-tea-sam)
Downloads
1
Readme
This is an experiment for SAM pattern on bucklescript-TEA
Organisation
- The bucklescript code goes into src/*.ml
- The release folder contains an index.html and rollup bundles your js here in main.js
Getting started
- copy or clone this repository
- change the names in package.json
- in the rollup.config.js you can also change the name of the output, you also have to change this name in de index.html
- for consistency, also change the name in bsconfig.json
Install
npm install
Build
npm run build
Watch
npm run watch
Credits
- Bucklescript-TEA by OvermindDL1
- Bucklescript-TEA starter kit by Thomas Coopman
- SAM pattern by Jean-Jacques Dubray
- TEA - The Elm Architecture by Evan Czaplicki