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.

117 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. '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. };