Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/akabe/ocaml-js-boilerplate
- Owner: akabe
- License: mit
- Created: 2017-05-10T15:11:23.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-05-10T15:41:00.000Z (over 7 years ago)
- Last Synced: 2024-10-30T19:12:14.039Z (2 months ago)
- Topics: functional-programming, javascript, ocaml
- Language: HTML
- Size: 7.81 KB
- Stars: 1
- Watchers: 2
- 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
```