-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
69 lines (64 loc) · 1.68 KB
/
config.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
'use strict';
let path = require('path');
let config = {
globs: {
core: [
'node_modules/fastclick/lib/fastclick.js',
'src/js/core/**/*.js',
'src/js/mobile-angular-ui.core.js'
],
components: [
'node_modules/fg-overthrow/src/overthrow-detect.js',
'node_modules/fg-overthrow/src/overthrow-init.js',
'node_modules/fg-overthrow/src/overthrow-polyfill.js',
'src/js/components/**/*.js',
'src/js/mobile-angular-ui.components.js'
],
gestures: [
'src/js/gestures/**/*.js',
'src/js/mobile-angular-ui.gestures.js'
],
fonts: 'node_modules/font-awesome/fonts/fontawesome-webfont.*',
vendorLess: [
path.resolve(__dirname, 'src/less'),
path.resolve(__dirname, 'node_modules')
],
livereloadDemo: [
path.join('demo', '*.html')
],
livereloadTest: [
path.join('test', '**', '*.html')
],
livereloadTestManual: [
path.join('test', 'manual', '*.html')
]
},
depcheck: {
ignore: [
'angular',
'angular-mocks',
'angular-route',
'bootstrap',
'mobile-angular-ui',
'jasmine-core',
'codecov',
'karma-jasmine',
'karma-mocha-reporter',
'karma-selenium-webdriver-launcher',
'karma-coverage',
'karma-chrome-launcher',
'selenium-webdriver',
'chromedriver',
'pre-commit'
]
},
lint: ['./src/**/*.js', './test/**/*.js', './*.js']
};
config.globs.main = config.globs.core
.concat(config.globs.components)
.concat('src/js/mobile-angular-ui.js');
config.globs.js = []
.concat(config.globs.core)
.concat(config.globs.components)
.concat(config.globs.gestures);
module.exports = config;