This repository has been archived by the owner on Jan 8, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.coffee
94 lines (83 loc) · 3.21 KB
/
config.coffee
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
fs = require 'fs'
path = require 'path'
# See docs at http://brunch.readthedocs.org/en/latest/config.html.
exports.config =
files:
javascripts:
joinTo:
'javascripts/app.js': /^app/
'javascripts/vendor.js': /^vendor/
'test/javascripts/test.js': /^test(\/|\\)(?!vendor)/
'test/javascripts/test-vendor.js': /^test(\/|\\)(?=vendor)/
order:
before: [
'vendor/scripts/console-helper.js',
'vendor/scripts/jquery-1.7.2.min.js',
'vendor/scripts/handlebars-1.0.0.beta.6.js',
'vendor/scripts/ember-latest.js',
'vendor/scripts/ember-data-latest.js',
'vendor/scripts/ember-i18n-1.4.1.js',
'vendor/scripts/bootstrap.js',
'vendor/scripts/bootstrap-combobox.js'
'vendor/scripts/d3.v2.js',
'vendor/scripts/cubism.v1.js',
'vendor/scripts/jquery.ui.core.js',
'vendor/scripts/jquery.ui.widget.js',
'vendor/scripts/jquery.ui.mouse.js',
'vendor/scripts/jquery.ui.datepicker.js',
'vendor/scripts/jquery-ui-timepicker-addon.js',
'vendor/scripts/jquery.ui.slider.js',
'vendor/scripts/jquery.ui.sortable.js',
'vendor/scripts/jquery.ui.custom-effects.js',
'vendor/scripts/jquery.timeago.js',
'vendor/scripts/jquery.ajax-retry.js',
'vendor/scripts/moment.js',
'vendor/scripts/workflow_visualization.js',
'vendor/scripts/rickshaw.js',
'vendor/scripts/spin.js',
'vendor/scripts/jquery.flexibleArea.js',
'vendor/scripts/FileSaver.js',
'vendor/scripts/Blob.js'
]
stylesheets:
defaultExtension: 'css'
joinTo:
'stylesheets/app.css': /^app/
'stylesheets/vendor.css': /^vendor/
order:
before: [
'vendor/styles/bootstrap.css',
# 'vendor/styles/datepicker.css'
'vendor/styles/font-awesome.css'
'vendor/styles/font-awesome-ie7.css',
'vendor/styles/cubism.css',
'vendor/styles/rickshaw.css'
'vendor/styles/bootstrap-combobox.css'
]
templates:
precompile: true
defaultExtension: 'hbs'
joinTo: 'javascripts/app.js' : /^app/
paths:
jquery: 'vendor/scripts/jquery-1.7.2.min.js'
handlebars: 'vendor/scripts/handlebars-1.0.0.beta.6.js'
ember: 'vendor/scripts/ember-latest.js'
server:
port: 3333
base: '/'
run: no