Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/akabe/ocaml-js-boilerplate

A template repository for OCaml and JavaScript
https://github.com/akabe/ocaml-js-boilerplate

functional-programming javascript ocaml

Last synced: 24 days ago
JSON representation

A template repository for OCaml and JavaScript

Awesome Lists containing this project

README

        

# OCaml JavaScript boilerplate

A template repository for OCaml and JavaScript

## Getting started

This repository requires two package managers [npm](https://www.npmjs.com/) for JavaScript, and [opam](https://opam.ocaml.org/) for OCaml.

### Install dependencies

```sh
npm install
opam install -y omake js_of_ocaml c3
```

### Build programs

Build OCaml programs, [pug](https://pugjs.org/) templates, and [sass](http://sass-lang.com/) code by

```sh
npm run build
```

or watch changes of source files as follows:

```
npm run watch
```