-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbsconfig.json
35 lines (35 loc) · 1019 Bytes
/
bsconfig.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
// This is the configuration file used by BuckleScript's build system bsb. Its documentation lives here: http://bucklescript.github.io/bucklescript/docson/#build-schema.json
// BuckleScript comes with its own parser for bsconfig.json, which is normal JSON, with the extra support of comments and trailing commas.
{
"name": "reason-tetris",
"version": "0.1.0",
"sources": "src",
"entries": [
{
"backend": "bytecode",
"main-module": "IndexHot"
},
{
"backend": "native",
"main-module": "Index"
},
{
"backend": "js",
"main-module": "Index"
}
],
"package-specs": {
"module": "commonjs",
"in-source": true
},
"suffix": ".bs.js",
"bs-dependencies": [
// add your dependencies here. You'd usually install them normally through `npm install my-dependency`. If my-dependency has a bsconfig.json too, then everything will work seamlessly.
"reprocessing"
],
"warnings": {
"error": "+101"
},
"namespace": true,
"refmt": 3
}