config.coffee 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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.2.0.js',
  35. 'vendor/scripts/bootstrap.js',
  36. 'vendor/scripts/bootstrap-combobox.js'
  37. 'vendor/scripts/d3.v2.js',
  38. 'vendor/scripts/cubism.v1.js',
  39. 'vendor/scripts/jquery.ui.core.js',
  40. 'vendor/scripts/jquery.ui.widget.js',
  41. 'vendor/scripts/jquery.ui.mouse.js',
  42. 'vendor/scripts/jquery.ui.datepicker.js',
  43. 'vendor/scripts/jquery-ui-timepicker-addon.js',
  44. 'vendor/scripts/jquery.ui.slider.js',
  45. 'vendor/scripts/jquery.ui.sortable.js',
  46. 'vendor/scripts/jquery.ui.custom-effects.js',
  47. 'vendor/scripts/jquery.timeago.js',
  48. 'vendor/scripts/jquery.ajax-retry.js',
  49. 'vendor/scripts/workflow_visualization.js',
  50. 'vendor/scripts/rickshaw.js',
  51. 'vendor/scripts/spin.js',
  52. 'vendor/scripts/jquery.flexibleArea.js',
  53. 'vendor/scripts/FileSaver.js'
  54. ]
  55. stylesheets:
  56. defaultExtension: 'css'
  57. joinTo: 'stylesheets/app.css'
  58. order:
  59. before: [
  60. 'vendor/styles/bootstrap.css',
  61. # 'vendor/styles/datepicker.css'
  62. 'vendor/styles/font-awesome.css'
  63. 'vendor/styles/font-awesome-ie7.css',
  64. 'vendor/styles/cubism.css',
  65. 'vendor/styles/rickshaw.css'
  66. 'vendor/styles/bootstrap-combobox.css'
  67. ]
  68. templates:
  69. precompile: true
  70. defaultExtension: 'hbs'
  71. joinTo: 'javascripts/app.js' : /^app/
  72. paths:
  73. jquery: 'vendor/scripts/jquery-1.7.2.min.js'
  74. handlebars: 'vendor/scripts/handlebars-1.0.0.beta.6.js'
  75. ember: 'vendor/scripts/ember-latest.js'
  76. server:
  77. port: 3333
  78. base: '/'
  79. run: no