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.

125 lines
2.2 KiB

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