bridge.json 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. // See all bridge.json configuration options at:
  2. // https://github.com/bridgedotnet/Bridge/wiki/global-configuration
  3. {
  4. // The folder to output JavaScript (.js) files.
  5. "output": "$(OutDir)/bridge/",
  6. // Set to "Minified" to generate .min.js files.
  7. // Set to "Both" to generate both minified and non-minified .js files.
  8. // "Formatted" generates non-minified .js files.
  9. "outputFormatting": "Minified",
  10. // Enable the Bridge Console.
  11. // Default is false.
  12. "console": {
  13. "enabled": false
  14. },
  15. // Enable browser debugging of C# files.
  16. // Default is false.
  17. "sourceMap": {
  18. "enabled": false
  19. },
  20. // Set to true to disable Reflection metadata generation.
  21. // Default is false.
  22. "reflection": {
  23. "disabled": false
  24. },
  25. // Generate TypeScript Definition (.d.ts) files.
  26. // Default is false.
  27. "generateTypeScript": false,
  28. // Delete everything from the output folder.
  29. // Default is false
  30. // ** WARNING **
  31. // If true, all files within the "output"
  32. // folder location will be deleted on Build.
  33. // ** USE WITH CAUTION **
  34. "cleanOutputFolderBeforeBuild": false,
  35. // Set to true to enable bridge.report.log generation.
  36. // Default is false.
  37. "report": {
  38. "enabled": false
  39. },
  40. // Rules to manage generated JavaScript syntax.
  41. // Default is "Managed"
  42. "rules": {
  43. "anonymousType": "Plain",
  44. "arrayIndex": "Managed",
  45. "autoProperty": "Plain",
  46. "boxing": "Managed",
  47. "externalCast": "Plain",
  48. "inlineComment": "Plain",
  49. "integer": "Managed",
  50. "lambda": "Plain"
  51. },
  52. // Automatically generate an index.html file
  53. // and add the file to the output directory.
  54. // Default is false.
  55. "html": {
  56. "disabled": false
  57. },
  58. // Add compilation logging to your Project.
  59. // Outputs a tab-delimited bridge.log file.
  60. // Set to "Trace" for full logging.
  61. // Default is "None".
  62. "logging": {
  63. "level": "NONE"
  64. }
  65. }