You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

118 lines
1.9 KiB

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