This repository was archived by the owner on Jan 16, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathbrunch-config.coffee
74 lines (61 loc) · 2 KB
/
brunch-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 =
files:
javascripts:
joinTo:
'scripts/vendor.js': /^(bower_components|vendor)/
'scripts/app.js': /^app/
'test/scripts/test.js': /^test\/(?!vendor)/
'test/scripts/test-vendor.js': /^test\/(?=vendor)/
order:
before: [
'vendor/marionette/lodash.js'
'vendor/marionette/jquery.js'
'vendor/marionette/backbone.js'
'vendor/marionette/backbone.babysitter.js'
'vendor/marionette/backbone.radio.js'
'vendor/marionette/backbone.marionette.js'
'vendor/marionette/radio.shim.js'
]
stylesheets:
joinTo:
'stylesheets/app.css': /^(bower_components|vendor|app)/
'test/stylesheets/test.css': /^test/
templates:
defaultExtension: 'jade'
joinTo: 'scripts/app.js'
conventions:
ignored: [
/[\\/]_/
/[\\/]index.styl/
]
plugins:
browserSync:
notify: false
coffeelint:
pattern: /^app\/.*\.coffee$/
options:
indentation:
value: 4
level: 'error'
jade:
globals: ['t', 'moment', '_', 'ColorHash']
stylus:
plugins: [
'cozy-ui/lib/stylus'
]
postcss:
processors: [
require('autoprefixer')(['last 2 versions'])
]
overrides:
production:
paths:
watched: ['app', 'vendor']
public: '../build/client/public'
plugins:
postcss:
processors: [
require('autoprefixer')(['last 2 versions'])
require('css-mqpacker')
require('csswring')
]