-
Notifications
You must be signed in to change notification settings - Fork 35
/
config.coffee
47 lines (45 loc) · 1.13 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
# This is the Brunch config, for compiling jade and coffeescript into javascript, sass into css
exports.config =
# See https://github.com/brunch/brunch/blob/master/docs/config.md
server:
path: 'dev/server.js'
paths:
'public': './'
watched: ['src', 'test']
files:
javascripts:
defaultExtension: 'coffee'
joinTo:
'dev/js/treema.js': /^src/
'treema.js': /^src/
'dev/js/treema.spec.js': /^test/
'treema-utils.js': /^src\/utils/
order:
before: [
'src/node.coffee',
'test/common.coffee',
]
stylesheets:
defaultExtension: 'sass'
joinTo:
'treema.css': /^src/
'dev/css/treema.css': /^src/
plugins:
coffeelint:
pattern: /^src\/.*\.coffee$/
options:
line_endings:
value: "unix"
level: "error"
max_line_length:
level: "ignore"
no_trailing_whitespace:
level: "ignore"
# https://gist.github.com/toolmantim/4958966
uglify:
output:
beautify: true
indent_level: 0
modules:
wrapper: false
definition: false