jeremyjh / bucklescript-tea-starter-kit

Starter kit for bucklescript with the elm architecture

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a starter kit for bucklescript with tea. It uses rollup.js to package the javascript and 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

About

Starter kit for bucklescript with the elm architecture


Languages

Language:OCaml 78.9%Language:HTML 13.6%Language:JavaScript 7.5%