defaults.js 1.9 KB

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