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
- Host: GitHub
- URL: https://github.com/tcoopman/bucklescript-tea-starter-kit
- Owner: tcoopman
- Created: 2017-06-18T08:47:25.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-16T15:28:49.000Z (almost 7 years ago)
- Last Synced: 2025-04-13T13:16:00.186Z (6 months ago)
- Topics: bucklescript, tea
- Language: OCaml
- Size: 138 KB
- Stars: 51
- Watchers: 5
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```