-
Notifications
You must be signed in to change notification settings - Fork 13
/
paths.conf.js
52 lines (46 loc) · 950 Bytes
/
paths.conf.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
'use strict';
module.exports = function () {
var srcdir = 'src/';
var testdir = 'test/';
var fixturesdir = testdir + 'fixtures/';
var www = 'www/';
var coverage = 'coverage/';
var files = [
'core.js',
'query.js',
'data.js',
'css.js',
'manipulation.js',
'traversing.js',
'utilities.js',
'event.js',
'ajax.js'
];
var src = files.map(function (file) {
return srcdir + file;
});
var test = files.map(function (file) {
return testdir + file;
});
var paths = {
test: {
files: test,
all: testdir + '*.js',
helper: testdir + 'spec.js',
fixtures: fixturesdir + '*.html'
},
src: {
files: src,
all: srcdir + '*.js',
jshintrc: srcdir + '.jshintrc'
},
dist: 'dist/',
gulpfile: 'gulpfile.js',
coverage: coverage,
reports: {
coverage: www + coverage,
plato: www + 'reports/'
}
};
return paths;
};