/
paths.js
52 lines (46 loc) · 1.1 KB
/
paths.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
var path = require('path');
var fs = require('fs');
// hide warning //
var emitter = require('events');
emitter.defaultMaxListeners = 20;
var appRoot = 'src/';
var pkg = JSON.parse(fs.readFileSync('./package.json', 'utf-8'));
var paths = {
root: appRoot,
source: appRoot + '**/*.js',
html: appRoot + '**/*.html',
style: 'styles/**/*.css',
output: 'dist/',
doc:'./doc',
e2eSpecsSrc: 'test/e2e/src/*.js',
e2eSpecsDist: 'test/e2e/dist/',
packageName: pkg.name,
useTypeScriptForDTS: false,
importsToAdd: [],
sort: true,
styleSource: 'styles/input.less',
styleOutput: 'styles'
};
paths.ignore = ['aurelia-dialog.js'];
paths.files = [
'interfaces.js',
'dialog-options.js',
'dialog-result.js',
'dialog-cancel-error.js',
'ai-dialog-body.js',
'ai-dialog-footer.js',
'ai-dialog-header.js',
'ai-dialog.js',
'attach-focus.js',
'lifecycle.js',
'dialog-controller.js',
'renderer.js',
'dialog-renderer.js',
'dialog-service.js',
'dialog-configuration.js',
'aurelia-dialog.js'
].map(function(file){
return paths.root + file;
});
paths.sample = 'sample';
module.exports = paths;