config.coffee 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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/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/moment.js',
  50. 'vendor/scripts/workflow_visualization.js',
  51. 'vendor/scripts/rickshaw.js',
  52. 'vendor/scripts/spin.js',
  53. 'vendor/scripts/jquery.flexibleArea.js',
  54. 'vendor/scripts/FileSaver.js',
  55. 'vendor/scripts/Blob.js'
  56. ]
  57. stylesheets:
  58. defaultExtension: 'css'
  59. joinTo:
  60. 'stylesheets/app.css': /^app/
  61. 'stylesheets/vendor.css': /^vendor/
  62. order:
  63. before: [
  64. 'vendor/styles/bootstrap.css',
  65. # 'vendor/styles/datepicker.css'
  66. 'vendor/styles/font-awesome.css'
  67. 'vendor/styles/font-awesome-ie7.css',
  68. 'vendor/styles/cubism.css',
  69. 'vendor/styles/rickshaw.css'
  70. 'vendor/styles/bootstrap-combobox.css'
  71. ]
  72. templates:
  73. precompile: true
  74. defaultExtension: 'hbs'
  75. joinTo: 'javascripts/app.js' : /^app/
  76. paths:
  77. jquery: 'vendor/scripts/jquery-1.7.2.min.js'
  78. handlebars: 'vendor/scripts/handlebars-1.0.0.beta.6.js'
  79. ember: 'vendor/scripts/ember-latest.js'
  80. server:
  81. port: 3333
  82. base: '/'
  83. run: no