lilacs
Version:
A web frontend building tool for teamwork, with automaticly compiling, merging, minifying, syncing files to server, supporting distributed servers, ensuring css or html files' inline reference with correct absolute path, and more.
61 lines (59 loc) • 1.35 kB
JavaScript
;
module.exports = [
{
name: 'new',
desc: 'Create a new project.'
},
{
name: 'add',
desc: 'Add a new module for current project.'
},
{
name: 'dev',
desc: 'Watch files\' changes for compiling, and start server to load current module.'
},
{
name: 'dist',
desc: 'Do production tasks.'
},
{
name: 'sync',
desc: 'Do production tasks, then sync files to remote.'
},
{
name: 'watch',
desc: 'Watch files\' changes for compiling.'
},
{
name: 'server',
desc: 'Start local server for debug.'
},
{
name: 'compile',
desc: 'Compile files from src to dev manually.'
},
{
name: 'cp',
desc: 'Alias of command compile.'
},
{
name: 'archive',
desc: 'Archive dist directory on server side.'
},
{
name: 'arc',
desc: 'Alias of command archive.'
},
{
name: 'clean',
desc: 'Clean redundant files caused by revision.'
},
{
name: 'init-clean',
desc: 'Init clean task by generate a config file \'lilacs.clean.config.js\' in current directory.'
},
{
name: 'revert',
desc: 'Revert current dist directory to last archive state.'
}
];