forked from reasonml/reason
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathesy.json
More file actions
35 lines (35 loc) · 1.27 KB
/
esy.json
File metadata and controls
35 lines (35 loc) · 1.27 KB
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
35
{
"name": "reason-dev",
"notes": "This is just the dev package config. See ./scripts/esy/ for release package configs",
"license": "MIT",
"version": "3.4.0",
"dependencies": {
"ocaml": " >= 4.2.0 < 4.8.0",
"@opam/ocamlfind": "*",
"@opam/menhir": " >= 20170418.0.0",
"@opam/utop": " >= 1.17.0 < 2.3.0",
"@opam/merlin-extend": " >= 0.3",
"@opam/result": "*",
"@opam/ocaml-migrate-parsetree": "*",
"@opam/dune": "*"
},
"devDependencies": {
"@opam/merlin": "*",
"ocaml": "~4.6.0"
},
"notes-ctd": [
"This is how you make an esy monorepo for development, but then release the monorepo as many individual packages:",
"1. Create a packageName-dev esy.json at the root and list the sum of all dependencies",
"2. Set the esy.build command to build a comma delimited list of the package names",
"3. Set the esy.install command to install each of those packages",
"4. Create separate esy.json files for each of those packages (see ./scripts/esy/)",
"5. Copy ./scripts/esy-prepublish.js in to your repo and change packages= to your set of packages."
],
"esy": {
"build": [["dune", "build", "-p", "reason,rtop"]],
"install": [
["esy-installer", "reason.install"],
["esy-installer", "rtop.install"]
]
}
}