-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.coffee
executable file
·74 lines (61 loc) · 3.05 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
exports.config =
# Edit the next line to change default build path.
paths:
public: 'public'
files:
javascripts:
# Defines what file will be generated with `brunch generate`.
defaultExtension: 'js'
# Describes how files will be compiled & joined together.
# Available formats:
# * 'outputFilePath'
# * map of ('outputFilePath': /regExp that matches input path/)
# * map of ('outputFilePath': function that takes input path)
joinTo:
'javascripts/app.js': /^app/
'javascripts/vendor.js': /^vendor/
# Defines compilation order.
# `vendor` files will be compiled before other ones
# even if they are not present here.
order:
before: [
'vendor/scripts/console-helper.js',
'vendor/scripts/jquery-1.9.1.js',
'vendor/scripts/underscore-1.4.4.js',
'vendor/scripts/backbone-0.9.10.js',
'vendor/scripts/backbone-mediator.js',
# These must come before the rest of the Bootstrap JS becasue of dependencies
'vendor/scripts/bootstrap/bootstrap-tooltip.js',
'vendor/scripts/bootstrap/bootstrap-transition.js',
'vendor/scripts/bootstrap/bootstrap-affix.js',
'vendor/scripts/bootstrap/bootstrap-alert.js',
'vendor/scripts/bootstrap/bootstrap-button.js',
'vendor/scripts/bootstrap/bootstrap-carousel.js',
'vendor/scripts/bootstrap/bootstrap-collapse.js',
'vendor/scripts/bootstrap/bootstrap-dropdown.js',
'vendor/scripts/bootstrap/bootstrap-modal.js',
'vendor/scripts/bootstrap/bootstrap-popover.js',
'vendor/scripts/bootstrap/bootstrap-scrollspy.js',
'vendor/scripts/bootstrap/bootstrap-tab.js',
'vendor/scripts/bootstrap/bootstrap-typeahed.js',
]
stylesheets:
defaultExtension: 'less'
joinTo: 'stylesheets/app.css'
order:
before: ['vendor/styles/bootstrap/bootstrap.less']
templates:
defaultExtension: 'hbs'
joinTo: 'javascripts/app.js'
# Change this if you're using something other than backbone (e.g. 'ember').
# Content of files, generated with `brunch generate` depends on the setting.
framework: 'backbone'
# Settings of web server that will run with `brunch watch [--server]`.
# server:
# # Path to your server node.js module.
# # If it's commented-out, brunch will use built-in express.js server.
# path: 'server.coffee'
# port: 3333
#
# # Run even without `--server` option?
# run: yes