UNPKG

1.94 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. 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 'flag',
55 'header',
56 'icon',
57 'image',
58 'input',
59 'label',
60 'list',
61 'loader',
62 'placeholder',
63 'rail',
64 'reveal',
65 'segment',
66 'step',
67
68 // collections
69 'breadcrumb',
70 'form',
71 'grid',
72 'menu',
73 'message',
74 'table',
75
76 // views
77 'ad',
78 'card',
79 'comment',
80 'feed',
81 'item',
82 'statistic',
83
84 // modules
85 'accordion',
86 'checkbox',
87 'dimmer',
88 'dropdown',
89 'embed',
90 'modal',
91 'nag',
92 'popup',
93 'progress',
94 'rating',
95 'search',
96 'shape',
97 'sidebar',
98 'sticky',
99 'tab',
100 'transition',
101
102 // behaviors
103 'api',
104 'form',
105 'state',
106 'visibility'
107 ],
108
109 // whether to load admin tasks
110 admin: false,
111
112 // globs used for matching file patterns
113 globs : {
114 ignored : '!(*.min|*.map|*.rtl)',
115 ignoredRTL : '!(*.min|*.map)'
116 }
117
118};