-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.coffee
59 lines (55 loc) · 1.76 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
exports.config =
# See docs at http://brunch.readthedocs.org/en/latest/config.html.
plugins:
uglify:
pattern: /\.js$/
coffeelint:
pattern: /^.*\.coffee$/
options:
indentation:
value: 2
level: "error"
files:
javascripts:
joinTo:
'javascripts/app.js': /^app/
'javascripts/vendor.js': /^vendor\/scripts/
order:
# Files in `vendor` directories are compiled before other files
# even if they aren't specified in order.
before: [
'vendor/scripts/json2.js'
'vendor/scripts/jquery-1.9.1.js'
'vendor/scripts/underscore-1.4.4.js'
'vendor/scripts/jquery-2.1.0.js'
'vendor/scripts/angular.js'
]
after: [
'vendor/scripts/brunch-reload.js'
]
stylesheets:
joinTo:
'stylesheets/app.css': /^(app\/styles|vendor\/styles)/
templates:
joinTo: 'javascripts/app.js'
server:
path: 'server.coffee'
port: 3000
base: '/'
app: 'express'
debug: 'brunch:server'
persistent: true
interval: 100
watched: ['public', 'express']
ignore: /(^[.#]|(?:~)$)/
source: /.*\.coffee$/
linter:
enabled: on
coffeelint:
pattern: /.*\.coffee$/
options:
indentation:
value: 2
level: "error"
max_line_length:
level: "ignore"