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.
132 lines
2.3 KiB
132 lines
2.3 KiB
/*******************************
|
|
Default Paths
|
|
*******************************/
|
|
|
|
module.exports = {
|
|
|
|
base : '',
|
|
theme : './src/theme.config',
|
|
|
|
permission : 644,
|
|
rtl : false,
|
|
|
|
docs : {
|
|
source : '../docs/server/files/release/',
|
|
output : '../docs/release/'
|
|
},
|
|
|
|
title : 'Semantic UI',
|
|
repository : 'https://github.com/Semantic-Org/Semantic-UI',
|
|
url : 'http://www.semantic-ui.com/',
|
|
|
|
// files cleaned after install
|
|
setupFiles: [
|
|
'./src/theme.config.example',
|
|
'./semantic.json.example',
|
|
'./src/_site'
|
|
],
|
|
|
|
components: [
|
|
// global
|
|
'reset',
|
|
'site',
|
|
// elements
|
|
'button',
|
|
'divider',
|
|
'flag',
|
|
'header',
|
|
'icon',
|
|
'image',
|
|
'input',
|
|
'label',
|
|
'list',
|
|
'loader',
|
|
'rail',
|
|
'reveal',
|
|
'segment',
|
|
'step',
|
|
// collections
|
|
'breadcrumb',
|
|
'form',
|
|
'grid',
|
|
'menu',
|
|
'message',
|
|
'table',
|
|
// views
|
|
'ad',
|
|
'card',
|
|
'comment',
|
|
'feed',
|
|
'item',
|
|
'statistic',
|
|
// modules
|
|
'accordion',
|
|
'checkbox',
|
|
'dimmer',
|
|
'dropdown',
|
|
'modal',
|
|
'nag',
|
|
'popup',
|
|
'progress',
|
|
'rating',
|
|
'search',
|
|
'shape',
|
|
'sidebar',
|
|
'sticky',
|
|
'tab',
|
|
'transition',
|
|
'video',
|
|
// behaviors
|
|
'api',
|
|
'form',
|
|
'state',
|
|
'visibility'
|
|
],
|
|
|
|
// ignored files for compile
|
|
ignoredFiles : '!(*.min|*.map|*.rtl)',
|
|
|
|
// modified to create configs
|
|
templates: {
|
|
config : './semantic.json.example',
|
|
site : './src/_site',
|
|
theme : './src/theme.config.example'
|
|
},
|
|
|
|
regExp: {
|
|
themePath: /.*\/themes\/.*?\//mg
|
|
},
|
|
|
|
// folder pathsr
|
|
folders: {
|
|
config : './',
|
|
site : './src/site',
|
|
theme : './src/'
|
|
},
|
|
|
|
// file paths
|
|
files: {
|
|
composer : 'composer.json',
|
|
config : './semantic.json',
|
|
npm : './package.json',
|
|
site : './src/site',
|
|
theme : './src/theme.config'
|
|
},
|
|
|
|
// same as semantic.json.example
|
|
paths: {
|
|
source: {
|
|
config : 'src/theme.config',
|
|
definitions : 'src/definitions/',
|
|
site : 'src/site/',
|
|
themes : 'src/themes/'
|
|
},
|
|
output: {
|
|
packaged : 'dist/',
|
|
uncompressed : 'dist/components/',
|
|
compressed : 'dist/components/',
|
|
themes : 'dist/themes/'
|
|
},
|
|
clean : 'dist/'
|
|
}
|
|
};
|