Skip to content

Commit 779aef7

Browse files
committed
feat: Capacity to compile it to JS
1 parent 9860a12 commit 779aef7

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

js.json

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"source": "./package.json",
3+
"scripts": {
4+
"run": "esy '@js' x bash -c 'http-server #{self.bin}'"
5+
},
6+
"override": {
7+
"build": ["dune build --root . -j4"],
8+
"dependencies": {
9+
"@opam/js_of_ocaml": "*",
10+
"@opam/js_of_ocaml-compiler": "*",
11+
"@opam/js_of_ocaml-lwt": "*",
12+
"http-server": "*"
13+
},
14+
"resolutions": {
15+
"rebez": "github:jchavarri/rebez#46cbc183",
16+
"@opam/js_of_ocaml": "github:ocsigen/js_of_ocaml:js_of_ocaml.opam#db257ce",
17+
"@opam/js_of_ocaml-compiler": "github:ocsigen/js_of_ocaml:js_of_ocaml-compiler.opam#db257ce",
18+
"@opam/js_of_ocaml-lwt": "github:ocsigen/js_of_ocaml:js_of_ocaml-lwt.opam#db257ce",
19+
"@brisk/brisk-reconciler": "github:briskml/brisk-reconciler#3d1ea3a"
20+
}
21+
}
22+
}

0 commit comments

Comments
 (0)