forked from Semantic-Org/Semantic-UI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefaults.js
executable file
·69 lines (59 loc) · 1.44 KB
/
defaults.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
/*******************************
Default Paths
*******************************/
module.exports = {
base : '',
theme : './src/theme.config',
docs : {
source : '../docs/server/files/release/',
output : '../docs/release/'
},
title : 'Semantic UI',
repository : 'https://github.com/Semantic-Org/Semantic-UI',
url : 'http://www.semantic-ui.com/',
// files cleaned after install
setupFiles: [
'./src/theme.config.example',
'./semantic.json.example',
'./src/_site'
],
// modified to create configs
templates: {
config : './semantic.json.example',
site : './src/_site',
theme : './src/theme.config.example'
},
regExp: {
themePath: /.*\/themes\/.*?\//mg
},
// folder pathsr
folders: {
config : './',
site : './src/site',
theme : './src/'
},
// file paths
files: {
composer : 'composer.json',
config : './semantic.json',
npm : './package.json',
site : './src/site',
theme : './src/theme.config'
},
// same as semantic.json.example
paths: {
source: {
config : 'src/theme.config',
definitions : 'src/definitions/',
site : 'src/site/',
themes : 'src/themes/'
},
output: {
packaged : 'dist/',
uncompressed : 'dist/components/',
compressed : 'dist/components/',
themes : 'dist/themes/'
},
clean : 'dist/'
}
};