-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
145 lines (145 loc) · 3.63 KB
/
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
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
{
"name": "reasonml-postgres",
"version": "0.0.0",
"description": "GraphQL server powered by postgres",
"esy": {
"build": "dune build -p #{self.name}",
"buildDev": [
"refmterr dune build --root . --only-packages #{self.name}"
],
"release": {
"releasedBinaries": [
"ReasonmlPostgresApp.exe"
]
}
},
"buildDirs": {
"test": {
"require": [
"reasonml-postgres/library",
"rely.lib"
],
"preprocess": [
"pps",
"lwt_ppx",
"graphql_ppx"
],
"flags": [
"-linkall",
"-g"
]
},
"testExe": {
"require": [
"reasonml-postgres/test"
],
"bin": {
"RunReasonmlPostgresTests.exe": "RunReasonmlPostgresTests.re"
}
},
"integration": {
"require": [
"reasonml-postgres/library",
"rely.lib"
],
"flags": [
"-linkall",
"-g"
]
},
"integrationExe": {
"require": [
"reasonml-postgres/integration"
],
"bin": {
"RunReasonmlPostgresIntegrations.exe": "RunReasonmlPostgresIntegrations.re"
}
},
"library": {
"require": [
"digestif.c",
"cohttp-lwt-unix",
"graphql",
"graphql-lwt",
"graphql-cohttp",
"yojson",
"logs.fmt",
"fmt.tty",
"decoders-yojson",
"caqti",
"caqti-lwt",
"caqti-driver-postgresql",
"jwt",
"base64"
],
"preprocess": [
"pps",
"lwt_ppx",
"graphql_ppx"
],
"flags": [
"-w",
"-32"
]
},
"executable": {
"require": [
"reasonml-postgres/library"
],
"bin": {
"ReasonmlPostgresApp.exe": "ReasonmlPostgresApp.re"
}
}
},
"scripts": {
"start": "esy x ReasonmlPostgresApp.exe",
"test": "env ENV=TEST esy x RunReasonmlPostgresTests.exe",
"integration": "esy x RunReasonmlPostgresIntegrations.exe",
"e2e": "start-server-and-test start http-get://localhost:8080 integration",
"format": "bash -c 'refmt --in-place {library,executable,test}/*.re'",
"update-schema": "scripts/sendIntrospectionQuery.js http://localhost:8080/graphql",
"repl": "esy dune utop library",
"build-watch": "esy dune build --root . --only-packages #{self.name} --watch"
},
"dependencies": {
"@esy-ocaml/reason": "*",
"@opam/base64": "*",
"@opam/caqti-driver-postgresql": "*",
"@opam/caqti-lwt": "*",
"@opam/cohttp-lwt-unix": "*",
"@opam/conf-openssl": "*",
"@opam/decoders-yojson": "*",
"@opam/digestif": "*",
"@opam/fmt": "*",
"@opam/graphql_ppx": "*",
"@opam/graphql-cohttp": "*",
"@opam/graphql-lwt": "*",
"@opam/graphql": "*",
"@opam/jwt": "*",
"@opam/logs": "*",
"@opam/lwt_ppx": "*",
"@opam/lwt_ssl": "*",
"ocaml": "4.7.x"
},
"devDependencies": {
"@esy-ocaml/rtop": "*",
"@opam/dune": "*",
"@opam/merlin": "*",
"@opam/utop": "*",
"@reason-native/rely": "*",
"pesy": "*",
"refmterr": "*",
"request": "*",
"start-server-and-test": "*",
"yargs": "*"
},
"resolutions": {
"@opam/graphql_ppx": "baransu/graphql_ppx:esy.json#7ab30b3",
"@opam/graphql-cohttp": "sync/ocaml-graphql-server:graphql-cohttp.opam#b0656b2",
"@opam/graphql-lwt": "sync/ocaml-graphql-server:graphql-lwt.opam#b0656b2",
"@opam/graphql": "sync/ocaml-graphql-server:graphql.opam#b0656b2",
"@opam/jwt": "besport/ocaml-jwt:jwt.opam#6563a10",
"@opam/nocrypto": "mirleft/ocaml-nocrypto:opam#ed7bb8d911dc340e36d85d335d9edb8339f0932d",
"pesy": "esy/pesy#e15824e"
}
}