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.

116 lines
1.9 KiB

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