forked from melange-re/melange-esy-template
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
34 lines (34 loc) · 908 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
"name": "melange-project",
"installConfig": {
"pnp": false
},
"esy": {
"buildsInSource": "_build",
"build": [
"dune build @react @node"
]
},
"scripts": {
"build:watch": "dune build @react @node -w",
"bundle": "webpack --mode production --entry #{self.root}/_build/default/src/output/src/ReactApp.js",
"serve": "webpack serve --open --mode development --entry #{self.root}/_build/default/src/output/src/ReactApp.js"
},
"dependencies": {
"ocaml": "5.1.x",
"@opam/dune": ">= 3.8.0",
"@opam/ocamlfind": "1.9.6",
"@opam/reason": "*",
"@opam/melange": "2.2.0",
"@opam/reason-react": "*",
"@opam/reason-react-ppx": "*",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@opam/ocaml-lsp-server": "1.16.2",
"webpack": "^5.73.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.9.1"
}
}