-
Notifications
You must be signed in to change notification settings - Fork 386
/
Copy pathBrocfile.js
48 lines (38 loc) · 1.68 KB
/
Brocfile.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
/* global require, module */
var pickFiles = require('broccoli-static-compiler');
var mergeTree = require('broccoli-merge-trees');
var EmberApp = require('ember-cli/lib/broccoli/ember-app');
var app = new EmberApp();
app.import("bower_components/jquery.cookie/jquery.cookie.js");
app.import("bower_components/timepicker/jquery.timepicker.js");
app.import("bower_components/lodash/dist/lodash.js");
app.import("bower_components/moment/moment.js");
app.import("bower_components/shapeshifter/shapeshifter.js");
app.import('bower_components/mixpanel/mixpanel.js');
app.import('bower_components/google-code-prettify/src/prettify.js');
app.import('bower_components/strapped/static/js/bootstrap/dropdown.js');
app.import('bower_components/strapped/static/js/bootstrap/modal.js');
app.import('bower_components/strapped/static/js/bootstrap/tooltip.js');
app.import('bower_components/strapped/static/js/bootstrap/popover.js');
app.import("bower_components/jquery-csv/src/jquery.csv.js");
app.import("bower_components/formatter/dist/formatter.js");
app.import("vendor/daterangepicker.js");
app.import("vendor/ember-validations.prod.js");
app.import('vendor/moment-business-days.js');
app.import('bower_components/ember-shortcuts/ember-shortcuts.js');
var fonts = pickFiles('bower_components/strapped/static/fonts', {
srcDir: '/',
files: ['*.eot', '*.svg', '*.ttf', '*.woff'],
destDir: '/fonts'
});
var images = pickFiles('bower_components/strapped/static/images', {
srcDir: '/',
files: ['**/*.png', '**/*.gif'],
destDir: '/images'
});
var qunitBdd = pickFiles('bower_components/sinon/', {
srcDir: '/',
files: ['index.js'],
destDir: '/assets'
});
module.exports = app.toTree(mergeTree([fonts, images, qunitBdd]));