Store project meta info only in composer.json

This commit is contained in:
Dmitriy Simushev 2014-12-11 14:21:20 +00:00
parent 3e77eddb33
commit f5ee6448e4
3 changed files with 3 additions and 11 deletions

View File

@ -1,6 +1,6 @@
{
"name": "mibew/mibew",
"version": "2.0-dev",
"version": "2.0.0-beta.1",
"description": "Mibew Messenger - open-source live support application",
"type": "project",
"homepage": "http://mibew.org",

View File

@ -37,7 +37,7 @@ var config = {
compiledTemplatesHeader: fs.readFileSync('tools/compiled_templates_header.txt'),
getComposerUrl: 'https://getcomposer.org/installer',
phpBin: 'php -d "suhosin.executor.include.whitelist = phar"',
package: require('./package.json')
package: require('./composer.json')
}
@ -202,7 +202,7 @@ gulp.task('generate-pot', function() {
.pipe(concatPo('translation.pot', {
headers: {
'Project-Id-Version': 'Mibew Messenger ' + config.package.version,
'Report-Msgid-Bugs-To': config.package.bugs.email,
'Report-Msgid-Bugs-To': config.package.support.email,
'POT-Creation-Date': strftime('%Y-%m-%d %H:%M%z'),
'PO-Revision-Date': '',
'Last-Translator': '',

View File

@ -1,12 +1,4 @@
{
"name": "Mibew",
"version": "2.0.0-alpha5",
"description": "Mibew Messenger - open-source live support application",
"private": true,
"bugs": {
"email": "support@mibew.org",
"url": "https://github.com/mibew/mibew/issues"
},
"devDependencies": {
"gulp": "~3.8.0",
"gulp-phpcs": "~0.2.1",