UNPKG

2.14 kBJavaScriptView Raw
1/*******************************
2 Default Paths
3*******************************/
4
5module.exports = {
6
7 // base path added to all other paths
8 base : '',
9
10 // base path when installed with npm
11 pmRoot: 'semantic/',
12
13 // octal permission for output files, i.e. 0o644 or '644' (false does not adjust)
14 permission : '744',
15
16 // whether to generate rtl files
17 rtl : false,
18
19 // file paths
20 files: {
21 config : 'semantic.json',
22 site : 'src/site',
23 theme : 'src/theme.config'
24 },
25
26 // folder paths
27 paths: {
28 source: {
29 config : 'src/theme.config',
30 definitions : 'src/definitions/',
31 site : 'src/site/',
32 themes : 'src/themes/'
33 },
34 output: {
35 packaged : 'dist/',
36 uncompressed : 'dist/components/',
37 compressed : 'dist/components/',
38 themes : 'dist/themes/'
39 },
40 clean : 'dist/'
41 },
42
43 // components to include in package
44 components: [
45
46 // global
47 'reset',
48 'site',
49
50 // elements
51 'button',
52 'container',
53 'divider',
54 'emoji',
55 'flag',
56 'header',
57 'icon',
58 'image',
59 'input',
60 'label',
61 'list',
62 'loader',
63 'placeholder',
64 'rail',
65 'reveal',
66 'segment',
67 'step',
68 'text',
69
70 // collections
71 'breadcrumb',
72 'form',
73 'grid',
74 'menu',
75 'message',
76 'table',
77
78 // views
79 'ad',
80 'card',
81 'comment',
82 'feed',
83 'item',
84 'statistic',
85
86 // modules
87 'accordion',
88 'calendar',
89 'checkbox',
90 'dimmer',
91 'dropdown',
92 'embed',
93 'modal',
94 'nag',
95 'popup',
96 'progress',
97 'slider',
98 'rating',
99 'search',
100 'shape',
101 'sidebar',
102 'sticky',
103 'tab',
104 'toast',
105 'transition',
106
107 // behaviors
108 'api',
109 'form',
110 'state',
111 'visibility'
112 ],
113
114 // whether to load admin tasks
115 admin: false,
116
117 // globs used for matching file patterns
118 globs : {
119 ignored : '!(*.min|*.map|*.rtl)',
120 ignoredRTL : '!(*.min|*.map)'
121 }
122
123};