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.

131 lines
2.3 KiB

  1. /*******************************
  2. Default Paths
  3. *******************************/
  4. module.exports = {
  5. base : '',
  6. theme : './src/theme.config',
  7. permission : 644,
  8. rtl : false,
  9. docs : {
  10. source : '../docs/server/files/release/',
  11. output : '../docs/release/'
  12. },
  13. title : 'Semantic UI',
  14. repository : 'https://github.com/Semantic-Org/Semantic-UI',
  15. url : 'http://www.semantic-ui.com/',
  16. // files cleaned after install
  17. setupFiles: [
  18. './src/theme.config.example',
  19. './semantic.json.example',
  20. './src/_site'
  21. ],
  22. components: [
  23. // global
  24. 'reset',
  25. 'site',
  26. // elements
  27. 'button',
  28. 'divider',
  29. 'flag',
  30. 'header',
  31. 'icon',
  32. 'image',
  33. 'input',
  34. 'label',
  35. 'list',
  36. 'loader',
  37. 'rail',
  38. 'reveal',
  39. 'segment',
  40. 'step',
  41. // collections
  42. 'breadcrumb',
  43. 'form',
  44. 'grid',
  45. 'menu',
  46. 'message',
  47. 'table',
  48. // views
  49. 'ad',
  50. 'card',
  51. 'comment',
  52. 'feed',
  53. 'item',
  54. 'statistic',
  55. // modules
  56. 'accordion',
  57. 'checkbox',
  58. 'dimmer',
  59. 'dropdown',
  60. 'modal',
  61. 'nag',
  62. 'popup',
  63. 'progress',
  64. 'rating',
  65. 'search',
  66. 'shape',
  67. 'sidebar',
  68. 'sticky',
  69. 'tab',
  70. 'transition',
  71. 'video',
  72. // behaviors
  73. 'api',
  74. 'form',
  75. 'state',
  76. 'visibility'
  77. ],
  78. // ignored files for compile
  79. ignoredFiles : '!(*.min|*.map|*.rtl)',
  80. // modified to create configs
  81. templates: {
  82. config : './semantic.json.example',
  83. site : './src/_site',
  84. theme : './src/theme.config.example'
  85. },
  86. regExp: {
  87. themePath: /.*\/themes\/.*?\//mg
  88. },
  89. // folder pathsr
  90. folders: {
  91. config : './',
  92. site : './src/site',
  93. theme : './src/'
  94. },
  95. // file paths
  96. files: {
  97. composer : 'composer.json',
  98. config : './semantic.json',
  99. npm : './package.json',
  100. site : './src/site',
  101. theme : './src/theme.config'
  102. },
  103. // same as semantic.json.example
  104. paths: {
  105. source: {
  106. config : 'src/theme.config',
  107. definitions : 'src/definitions/',
  108. site : 'src/site/',
  109. themes : 'src/themes/'
  110. },
  111. output: {
  112. packaged : 'dist/',
  113. uncompressed : 'dist/components/',
  114. compressed : 'dist/components/',
  115. themes : 'dist/themes/'
  116. },
  117. clean : 'dist/'
  118. }
  119. };