-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathkarma-files.js
79 lines (71 loc) · 2.61 KB
/
karma-files.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
function _file_path_prepend(paths) {
new_paths = [];
paths.forEach(function(item) {
new_paths.push(__dirname + '/frontend/' + item);
});
return new_paths;
}
JS_VENDOR_FILES = _file_path_prepend([
'javascripts/libs/jquery-1.10.1.min.js',
'javascripts/libs/jquery-ui.min.js',
'javascripts/libs/angular.js',
'javascripts/libs/angular-mock.js',
'javascripts/libs/angular-animate.js',
'javascripts/libs/angular-resource.js',
'javascripts/libs/angular-cookies.min.js',
'javascripts/libs/perfect-scrollbar.jquery.min.js',
'javascripts/libs/angular-perfect-scrollbar.js',
'javascripts/libs/slider.js',
'javascripts/libs/angular-ui-switch.js',
'javascripts/libs/ui-bootstrap-tpls-0.14.3.js',
'javascripts/libs/angular-ui-router.js',
'javascripts/libs/moment.js',
'javascripts/libs/angular-moment.min.js',
'javascripts/libs/lodash.min.js',
'javascripts/libs/fabric.js',
'javascripts/libs/d3.v4.min.js',
'javascripts/libs/ng-focus-on.js.coffee',
'javascripts/libs/http-auth-interceptor.js',
'javascripts/libs/http-response-interceptor.js',
'javascripts/libs/jstorage.js',
'javascripts/libs/spin.min.js',
'javascripts/libs/ladda.min.js',
'javascripts/libs/angular-ladda.min.js',
'javascripts/libs/rainbowvis.js',
'javascripts/libs/ellipsis-animated.js',
'javascripts/libs/ng-file-upload-shim.js',
'javascripts/libs/ng-file-upload.js',
'javascripts/libs/ng-webworker.js'
]);
JS_APP_FILES = _file_path_prepend([
'javascripts/login.js.coffee',
'javascripts/welcome.js.coffee',
'javascripts/app/app.js.coffee',
'javascripts/app/config.js.coffee',
'javascripts/app/routes.js.coffee',
'javascripts/app/canvas-app.js',
'javascripts/app/canvas/**/*',
'javascripts/app/controllers/**/*',
'javascripts/app/directives/**/*',
'javascripts/app/filters/**/*',
'javascripts/app/services/**/*',
'javascripts/app/views/**/*',
'javascripts/dynexp/_libs/**/*.js',
'javascripts/dynexp/optical_cal/**/*.js',
'javascripts/dynexp/dual_channel_optical_cal_v2/**/*.js',
'javascripts/dynexp/optical_test_single_channel/**/*.js',
'javascripts/dynexp/optical_test_dual_channel/**/*.js',
'javascripts/dynexp/thermal_consistency/**/*.js',
'javascripts/dynexp/thermal_performance_diagnostic/**/*.js',
'javascripts/dynexp/pika_test/**/*.js',
'javascripts/dynexp/dynexp.module.js',
]);
TEST_FILES = _file_path_prepend([
'tests/mocks/**/*',
'tests/helpers/**/*',
'tests/spec/**/*',
]);
IMG_FILES = [
{ pattern: 'frontend/images/**/*', watched: false, included: false, served: true, nocache: false }
]
module.exports = JS_VENDOR_FILES.concat(JS_APP_FILES).concat(TEST_FILES).concat(IMG_FILES);