config.coffee 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. # Licensed to the Apache Software Foundation (ASF) under one
  2. # or more contributor license agreements. See the NOTICE file
  3. # distributed with this work for additional information
  4. # regarding copyright ownership. The ASF licenses this file
  5. # to you under the Apache License, Version 2.0 (the
  6. # "License"); you may not use this file except in compliance
  7. # with the License. You may obtain a copy of the License at
  8. #
  9. # http://www.apache.org/licenses/LICENSE-2.0
  10. #
  11. # Unless required by applicable law or agreed to in writing, software
  12. # distributed under the License is distributed on an "AS IS" BASIS,
  13. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. # See the License for the specific language governing permissions and
  15. # limitations under the License.
  16. fs = require 'fs'
  17. path = require 'path'
  18. # See docs at http://brunch.readthedocs.org/en/latest/config.html.
  19. exports.config =
  20. files:
  21. javascripts:
  22. joinTo:
  23. 'javascripts/app.js': /^app/
  24. 'javascripts/vendor.js': /^vendor/
  25. 'test/javascripts/test.js': /^test(\/|\\)(?!vendor)/
  26. 'test/javascripts/test-vendor.js': /^test(\/|\\)(?=vendor)/
  27. order:
  28. before: [
  29. 'vendor/scripts/console-helper.js',
  30. 'vendor/scripts/jquery-1.7.2.min.js',
  31. 'vendor/scripts/handlebars-1.0.0.beta.6.js',
  32. 'vendor/scripts/ember-latest.js',
  33. 'vendor/scripts/ember-data-latest.js',
  34. 'vendor/scripts/ember-i18n-1.4.1.js',
  35. 'vendor/scripts/bootstrap.js',
  36. 'vendor/scripts/bootstrap-combobox.js',
  37. 'vendor/scripts/bootstrap-checkbox.js',
  38. 'vendor/scripts/bootstrap-slider.min.js',
  39. 'vendor/scripts/bootstrap-switch.min.js',
  40. 'vendor/scripts/d3.v2.js',
  41. 'vendor/scripts/cubism.v1.js',
  42. 'vendor/scripts/jquery.ui.core.js',
  43. 'vendor/scripts/jquery.ui.position.js',
  44. 'vendor/scripts/jquery.ui.widget.js',
  45. 'vendor/scripts/jquery.ui.autocomplete.js',
  46. 'vendor/scripts/jquery.ui.mouse.js',
  47. 'vendor/scripts/jquery.ui.datepicker.js',
  48. 'vendor/scripts/jquery-ui-timepicker-addon.js',
  49. 'vendor/scripts/jquery.ui.slider.js',
  50. 'vendor/scripts/jquery.ui.sortable.js',
  51. 'vendor/scripts/jquery.ui.custom-effects.js',
  52. 'vendor/scripts/jquery.timeago.js',
  53. 'vendor/scripts/jquery.ajax-retry.js',
  54. 'vendor/scripts/jquery.sticky-kit.js',
  55. 'vendor/scripts/underscore.js',
  56. 'vendor/scripts/backbone.js',
  57. 'vendor/scripts/visualsearch.js',
  58. 'vendor/scripts/moment.js',
  59. 'vendor/scripts/moment-timezone-with-data-2010-2020.js',
  60. 'vendor/scripts/workflow_visualization.js',
  61. 'vendor/scripts/rickshaw.js',
  62. 'vendor/scripts/spin.js',
  63. 'vendor/scripts/jquery.flexibleArea.js',
  64. 'vendor/scripts/FileSaver.js',
  65. 'vendor/scripts/Blob.js'
  66. ]
  67. stylesheets:
  68. defaultExtension: 'css'
  69. joinTo:
  70. 'stylesheets/app.css': /^app/
  71. 'stylesheets/vendor.css': /^vendor/
  72. order:
  73. before: [
  74. 'vendor/styles/bootstrap.css',
  75. 'vendor/styles/font-awesome.css',
  76. 'vendor/styles/font-awesome-ie7.css',
  77. 'vendor/styles/cubism.css',
  78. 'vendor/styles/rickshaw.css',
  79. 'vendor/styles/bootstrap-combobox.css',
  80. 'vendor/styles/bootstrap-checkbox.css',
  81. 'vendor/styles/bootstrap-slider.min.css',
  82. 'vendor/styles/bootstrap-switch.min.css',
  83. 'vendor/styles/visualsearch-datauri.css'
  84. ],
  85. after: ['app/styles/custom-ui.css']
  86. templates:
  87. precompile: true
  88. defaultExtension: 'hbs'
  89. joinTo: 'javascripts/app.js' : /^app/
  90. paths:
  91. jquery: 'vendor/scripts/jquery-1.7.2.min.js'
  92. handlebars: 'vendor/scripts/handlebars-1.0.0.beta.6.js'
  93. ember: 'vendor/scripts/ember-latest.js'
  94. server:
  95. port: 3333
  96. base: '/'
  97. run: no
  98. sourceMaps: false