-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
·79 lines (79 loc) · 1.86 KB
/
package.json
File metadata and controls
executable file
·79 lines (79 loc) · 1.86 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"name": "<PACKAGE_NAME_FULL>",
"version": "0.1.0",
"description": "Starter Reason Esy Pesy Project",
"esy": {
"build": "dune build -p #{self.name}",
"buildDev": "pesy build",
"NOTE": "Optional release Section. Customizes result of `esy release`",
"release": {
"releasedBinaries": [
"<PACKAGE_NAME_UPPER_CAMEL>App.exe"
]
},
"buildEnv": {
"ODOC_SYNTAX": "re"
}
},
"pesy": {
"azure-project": "pesy/pesy",
"github": "pesy/template-cli"
},
"buildDirs": {
"test": {
"imports": [
"Library = require('<PUBLIC_LIB_NAME>')",
"Rely = require('rely/lib')"
],
"flags": [
"-linkall",
"-g",
"-w",
"-9"
]
},
"testExe": {
"imports": [
"Test = require('<TEST_LIB_NAME>')"
],
"bin": {
"Run<PACKAGE_NAME_UPPER_CAMEL>Tests.exe": "Run<PACKAGE_NAME_UPPER_CAMEL>Tests.re"
}
},
"library": {
"imports": [
"Console = require('console/lib')",
"Pastel = require('pastel/lib')"
]
},
"bin": {
"imports": [
"Library = require('<PUBLIC_LIB_NAME>')"
],
"bin": {
"<PACKAGE_NAME_UPPER_CAMEL>App.exe": "<PACKAGE_NAME_UPPER_CAMEL>App.re"
}
}
},
"scripts": {
"start": "esy x <PACKAGE_NAME_UPPER_CAMEL>App.exe",
"test": "esy x Run<PACKAGE_NAME_UPPER_CAMEL>Tests.exe",
"doc": "esy dune build @doc",
"doc-path": "esy echo #{self.target_dir}/default/_doc/_html/index.html"
},
"dependencies": {
"@opam/dune": "*",
"@reason-native/console": "*",
"@reason-native/pastel": "*",
"@reason-native/rely": "*",
"@esy-ocaml/reason": "*",
"ocaml": "~4.8.1",
"@pesy/esy-pesy": "0.1.0-alpha.9"
},
"devDependencies": {
"refmterr": "*",
"@opam/merlin": "*",
"ocaml": "~4.8.1",
"@opam/odoc": "*"
}
}