github.com/fanux/shipyard@v0.0.0-20161009071005-6515ce223235/controller/static/semantic/tasks/config/defaults.js (about)

     1  /*******************************
     2            Default Paths
     3  *******************************/
     4  
     5  module.exports = {
     6  
     7    // base path added to all other paths
     8    base : '',
     9  
    10    // base path when installed with npm
    11    pmRoot: 'semantic/',
    12  
    13    // octal permission for output files, i.e. 644 (false does not adjust)
    14    permission : 744,
    15  
    16    // whether to generate rtl files
    17    rtl        : false,
    18  
    19    // file paths
    20    files: {
    21      config   : 'semantic.json',
    22      site     : 'src/site',
    23      theme    : 'src/theme.config'
    24    },
    25  
    26    // folder paths
    27    paths: {
    28      source: {
    29        config      : 'src/theme.config',
    30        definitions : 'src/definitions/',
    31        site        : 'src/site/',
    32        themes      : 'src/themes/'
    33      },
    34      output: {
    35        packaged     : 'dist/',
    36        uncompressed : 'dist/components/',
    37        compressed   : 'dist/components/',
    38        themes       : 'dist/themes/'
    39      },
    40      clean : 'dist/'
    41    },
    42  
    43    // components to include in package
    44    components: [
    45  
    46      // global
    47      'reset',
    48      'site',
    49  
    50      // elements
    51      'button',
    52      'divider',
    53      'flag',
    54      'header',
    55      'icon',
    56      'image',
    57      'input',
    58      'label',
    59      'list',
    60      'loader',
    61      'rail',
    62      'reveal',
    63      'segment',
    64      'step',
    65  
    66      // collections
    67      'breadcrumb',
    68      'form',
    69      'grid',
    70      'menu',
    71      'message',
    72      'table',
    73  
    74      // views
    75      'ad',
    76      'card',
    77      'comment',
    78      'feed',
    79      'item',
    80      'statistic',
    81  
    82      // modules
    83      'accordion',
    84      'checkbox',
    85      'dimmer',
    86      'dropdown',
    87      'modal',
    88      'nag',
    89      'popup',
    90      'progress',
    91      'rating',
    92      'search',
    93      'shape',
    94      'sidebar',
    95      'sticky',
    96      'tab',
    97      'transition',
    98      'video',
    99  
   100      // behaviors
   101      'api',
   102      'form',
   103      'state',
   104      'visibility'
   105    ],
   106  
   107    // whether to load admin tasks
   108    admin: false,
   109  
   110    // globs used for matching file patterns
   111    globs      : {
   112      ignored    : '!(*.min|*.map|*.rtl)',
   113      ignoredRTL : '!(*.min|*.map)'
   114    }
   115  
   116  };