An open API service indexing awesome lists of open source software.

https://github.com/tcoopman/bucklescript-tea-starter-kit

Starter kit for bucklescript with the elm architecture
https://github.com/tcoopman/bucklescript-tea-starter-kit

bucklescript tea

Last synced: 6 months ago
JSON representation

Starter kit for bucklescript with the elm architecture

Awesome Lists containing this project

README

          

This is a starter kit for bucklescript with [tea](https://github.com/OvermindDL1/bucklescript-tea). It uses [rollup.js](https://rollupjs.org/) to package the javascript and [serve](https://github.com/zeit/serve) to serve the release folder.

# 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
```