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.
|
|
/******************************* Release Config *******************************/
var requireDotFile = require('require-dot-file'), config, packageJSON, version ;
/******************************* Derived Values *******************************/
try {
config = requireDotFile('semantic.json'); packageJSON = require('../../../package.json');
// looks for version in config or package.json (whichever is available)
version = (config && config.version !== undefined) ? config.version : packageJSON.version ;
}
catch(error) { // generate fake package
packageJSON = { version: 'x.x' }; }
/******************************* Export *******************************/
module.exports = {
title : 'Semantic UI', repository : 'https://github.com/Semantic-Org/Semantic-UI', url : 'http://www.semantic-ui.com/',
banner: '' + ' /*' + '\n' + ' * # <%= title %> - <%= version %>' + '\n' + ' * <%= repository %>' + '\n' + ' * <%= url %>' + '\n' + ' *' + '\n' + ' * Copyright 2014 Contributors' + '\n' + ' * Released under the MIT license' + '\n' + ' * http://opensource.org/licenses/MIT' + '\n' + ' *' + '\n' + ' */' + '\n',
version : packageJSON.version
};
|