-
Notifications
You must be signed in to change notification settings - Fork 52
/
application-settings.js
47 lines (47 loc) · 1.22 KB
/
application-settings.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
"use strict";
module.exports = {
stylesFolder: '/styles',
sourceFolder: '/src',
distFolder: '/dist',
javascriptFolder: 'js',
stylesheetFolder: 'css',
appName: 'ui-components',
modules: {
common: '/common',
dialogEditor: '/dialog-editor',
fonticonPicker: '/fonticon-picker',
dialogs: '/dialog-user',
treeView: '/tree-view',
treeSelector: '/tree-selector',
miqSelect: '/miq-select',
},
nodePackages: 'node_modules/',
get stylesheetPath() {
return this.stylesheetFolder + '/[name]' + '.css';
},
get indexLocation() {
return __dirname + '/demo/index.html';
},
isMinified: function (production) {
return (!production ? '.js' : '.min.js');
},
get sassRootFolder() {
return '.' + this.sourceFolder + this.stylesFolder;
},
get sassEntryPoint() {
return this.sassRootFolder + '/' + this.appName + '.scss'
},
get tsEntryPoint() {
return '.' + this.sourceFolder + '/index.ts'
},
get tsModules() {
let availableObjects = [];
Object.keys(this.modules).forEach(key => {
availableObjects.push('.' + this.sourceFolder + this.modules[key]);
});
return availableObjects;
},
get outputFolder() {
return __dirname + this.distFolder
}
};