-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathember-cli-build.js
125 lines (112 loc) · 3.44 KB
/
ember-cli-build.js
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
/*jshint node:true*/
/* global require, module */
var EmberApp = require('ember-cli/lib/broccoli/ember-app');
module.exports = function (defaults) {
var app = new EmberApp(defaults, {
minifyCSS: {
enabled: true
},
fingerprint: {
exclude: ['fonts/']
},
stylusOptions: {
"include css": true
}
});
/*
* TWITTER - BOOTSTRAP
*/
app.import({
development: 'bower_components/bootstrap/dist/js/bootstrap.js',
production: 'bower_components/bootstrap/dist/js/bootstrap.min.js'
});
app.import({
development: 'bower_components/bootstrap/dist/css/bootstrap.css.map',
production: 'bower_components/bootstrap/dist/css/bootstrap.css.map'
});
app.import({
development: 'bower_components/bootstrap/dist/css/bootstrap.css',
production: 'bower_components/bootstrap/dist/css/bootstrap.min.css'
});
/*
* Raleway - FONT
*/
app.import({
development: 'bower_components/bootstrap-material-design/dist/js/material.js',
production: 'bower_components/bootstrap-material-design/dist/js/material.min.js'
});
app.import('bower_components/bootstrap-material-design/dist/js/material.min.js.map');
/*
* FONT AWESOME
*/
app.import({
development: 'bower_components/font-awesome/css/font-awesome.css',
production: 'bower_components/font-awesome/css/font-awesome.min.css'
});
/*
* MOMENT with Timezones and Range
*/
app.import({
development: 'bower_components/moment/moment.js',
production: 'bower_components/moment/min/moment.min.js'
});
app.import({
development: 'bower_components/moment-timezone/builds/moment-timezone-with-data.js',
production: 'bower_components/moment-timezone/builds/moment-timezone-with-data.min.js'
});
app.import({
development: 'bower_components/moment-range/dist/moment-range.js',
production: 'bower_components/moment-range/dist/moment-range.min.js'
});
/*
* UNDERSCORE.JS
*/
app.import({
development: 'bower_components/underscore/underscore.js',
production: 'bower_components/underscore/underscore-min.js'
});
/*
* PARSE JAVASCRIPT SDK
*/
app.import({
development: 'bower_components/parse/parse.js',
production: 'bower_components/parse/parse.min.js'
});
/*
* NUMERAL.JS
*/
app.import({
development: 'bower_components/numeral/numeral.js',
production: 'bower_components/numeral/min/numeral.min.js'
});
/*
* CSS TOGGLE SWITCH
*/
app.import('bower_components/css-toggle-switch/dist/toggle-switch.css');
/*
* JS TIMEZONE DETECT
*/
app.import('bower_components/jstz/jstz.js');
/*
* ALGOLIA SEARCH
*/
app.import({
development: 'bower_components/algoliasearch/dist/algoliasearch.js',
production: 'bower_components/algoliasearch/dist/algoliasearch.min.js'
});
/*
* jQuery KNOB
*/
app.import({
development: 'bower_components/jquery-knob/js/jquery.knob.js',
production: 'bower_components/jquery-knob/dist/jquery.knob.min.js'
});
/*
* Get Stream
*/
app.import({
development: 'bower_components/getstream/dist/js/getstream.js',
production: 'bower_components/getstream/dist/js_min/getstream.js'
});
return app.toTree();
};