-
Notifications
You must be signed in to change notification settings - Fork 0
/
bridge.json
76 lines (65 loc) · 1.86 KB
/
bridge.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
// See all bridge.json configuration options at:
// https://github.com/bridgedotnet/Bridge/wiki/global-configuration
{
// The folder to output JavaScript (.js) files.
"output": "$(OutDir)/script/",
// Set to "Minified" to generate .min.js files.
// Set to "Both" to generate both minified and non-minified .js files.
// "Formatted" generates non-minified .js files.
"outputFormatting": "Formatted",
// Enable the Bridge Console.
// Default is false.
"console": {
"enabled": false
},
// Enable browser debugging of C# files.
// Default is false.
"sourceMap": {
"enabled": true
},
// Set to true to disable Reflection metadata generation.
// Default is false.
"reflection": {
"disabled": false
},
// Generate TypeScript Definition (.d.ts) files.
// Default is false.
"generateTypeScript": false,
// Delete everything from the output folder.
// Default is false
// ** WARNING **
// If true, all files within the "output"
// folder location will be deleted on Build.
// ** USE WITH CAUTION **
"cleanOutputFolderBeforeBuild": false,
// Set to true to enable bridge.report.log generation.
// Default is false.
"report": {
"enabled": false
},
// Rules to manage generated JavaScript syntax.
// Default is "Managed"
"rules": {
"anonymousType": "Plain",
"arrayIndex": "Managed",
"autoProperty": "Plain",
"boxing": "Managed",
"externalCast": "Plain",
"inlineComment": "Plain",
"integer": "Managed",
"lambda": "Plain"
},
// Automatically generate an index.html file
// and add the file to the output directory.
// Default is false.
"html": {
"disabled": true
},
// Add compilation logging to your Project.
// Outputs a tab-delimited bridge.log file.
// Set to "Trace" for full logging.
// Default is "None".
"logging": {
"level": "None"
}
}