1 | var path = require('path');
|
2 | var fs = require('fs');
|
3 |
|
4 |
|
5 | var emitter = require('events');
|
6 | emitter.defaultMaxListeners = 20;
|
7 |
|
8 | var appRoot = 'src/';
|
9 | var pkg = JSON.parse(fs.readFileSync('./package.json', 'utf-8'));
|
10 |
|
11 | var paths = {
|
12 | root: appRoot,
|
13 | source: appRoot + '**/*.js',
|
14 | html: appRoot + '**/*.html',
|
15 | style: 'styles/**/*.css',
|
16 | output: 'dist/',
|
17 | doc:'./doc',
|
18 | e2eSpecsSrc: 'test/e2e/src/*.js',
|
19 | e2eSpecsDist: 'test/e2e/dist/',
|
20 | packageName: pkg.name,
|
21 | ignore: [],
|
22 | useTypeScriptForDTS: false,
|
23 | importsToAdd: [],
|
24 | sort: false
|
25 | };
|
26 |
|
27 | paths.files = [
|
28 | 'animation-event.js',
|
29 | 'animator.js',
|
30 | 'composition-transaction.js',
|
31 | 'util.js',
|
32 | 'view-engine-hooks-resource.js',
|
33 | 'element-events.js',
|
34 | 'instructions.js',
|
35 | 'view-strategy.js',
|
36 | 'view-locator.js',
|
37 | 'binding-language.js',
|
38 | 'shadow-dom.js',
|
39 | 'view-resources.js',
|
40 | 'view.js',
|
41 | 'interfaces.js',
|
42 | 'view-slot.js',
|
43 | 'view-factory.js',
|
44 | 'view-compiler.js',
|
45 | 'module-analyzer.js',
|
46 | 'view-engine.js',
|
47 | 'controller.js',
|
48 | 'behavior-property-observer.js',
|
49 | 'bindable-property.js',
|
50 | 'html-behavior.js',
|
51 | 'child-observation.js',
|
52 | 'swap-strategies.js',
|
53 | 'composition-engine.js',
|
54 | 'element-config.js',
|
55 | 'decorators.js',
|
56 | 'templating-engine.js'
|
57 | ].map(function(file){
|
58 | return paths.root + file;
|
59 | });
|
60 |
|
61 | module.exports = paths;
|