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: 3 months ago
JSON representation
A template repository for OCaml and JavaScript
- Host: GitHub
- URL: https://github.com/akabe/ocaml-js-boilerplate
- Owner: akabe
- License: mit
- Created: 2017-05-10T15:11:23.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-10T15:41:00.000Z (about 9 years ago)
- Last Synced: 2025-04-05T04:27:22.479Z (over 1 year ago)
- Topics: functional-programming, javascript, ocaml
- Language: HTML
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```